r/renderings

Rendering 1 Million Procedural Cubes
▲ 17 r/renderings+4 crossposts

Rendering 1 Million Procedural Cubes

https://reddit.com/link/1tav653/video/upp9zug11o0h1/player

I’ve been working on my engine (Rust obviosly), specifically on Vulkan bindings. The main work was already done, and only testing remained. During testing, I usually prefer CSV and JSON because they give me a good grasp of the data, letting me easily see what’s happening and spot any unexpected behavior. This saves a lot of time since you don’t have to check every number individually you just need to confirm whether things are going as expected. Since continuous testing was already happening, I knew that for this stage I only needed an overall overview to ensure all components were working together properly, as individual component testing had been done earlier. So yesterday, I was testing, Today, I decided to share CSV graphs and visual testing results.

Here’s my result:

Workload: 1,000,000 procedurally generated cubes (8 million vertices / 12 million primitives).

Average frametime: ~1.43ms (consistently hitting 700+ FPS).

PCIe bandwidth used: exactly 0 bytes.

1% lows: extremely stable (max spikes under 2.5ms).

// Flushing data to disk without pollutng hotloop!!!!!!
if state_arc.lock().unwrap().mode == 0 {
    if let Ok(mut f) = std::fs::File::create("alu_throughput_log.csv") {
        let _ = writeln!(f, "Timestamp_Sec,Cubes_Generated_Per_Frame,Vertices_Computed_By_ALU,Triangles_Rasterized,Memory_Bandwidth_Used_Bytes");
        for t in &alu_log {
            let _ = writeln!(f, "{:.4},{},{},{},{}", t.timestamp_sec, t.cubes_generated, t.vertices_computed, t.triangles_rasterized, t.memory_bandwidth);
        }
    }
    
    if let Ok(mut f) = std::fs::File::create("frame_pacing_log.csv") {
        let _ = writeln!(f, "Frame_ID,Timestamp_Sec,Render_Latency_ms,Instant_FPS");
        for t in &pacing_log {
            let _ = writeln!(f, "{},{:.4},{:.2},{:.0}", t.frame_id, t.timestamp_sec, t.render_latency_ms, t.instant_fps);
        }
    }

    if let Ok(mut f) = std::fs::File::create("dispatch_consistency_log.csv") {
        let _ = writeln!(f, "Frame_Window_Start,Frame_Window_End,Avg_Latency_ms,Max_Latency_Spike_ms_1_Percent_Low");
        for t in &consistency_log {
            let _ = writeln!(f, "{},{},{:.2},{:.2}", t.window_start, t.window_end, t.avg_latency_ms, t.max_latency_spike_ms);
        }
    }
}

If you look at the cluster of dots in the graph, you’ll clearly see that despite the heavy render load, most frames are densely clustered around 1.5ms latency and a median of 661 FPS.

The system is processing 5 to 9 B triangles per second. (the right axis of the graph.) Render latency is consistently maintained between 1.5ms and 2.5ms (The solid dotted green line )

reddit.com
u/IamRustyRust — 4 hours ago
▲ 4 r/renderings+2 crossposts

I'm a professional construction estimator and designer who loves their job but wants to spend nights and weekends doing freelance work in Sketchup and Layout. I strictly use the two at work for designing, and have about 10 years or so of experience with them. I don't want to use fiver and other apps like it. I found sloped.io and feel like it's a pretty good idea even though you have to pay for the proctored exam and membership. I passed the initial quiz they offer but haven't taken the exam yet. Does anyone have experience with sloped io? Has anyone made any money using their platform? My next option, and I think it could possibly be a potential winner, is to start calling construction companies, interior design firms and architects and see if they have any extra work. I'm okay with doing redlines and shop drawings to make some extra money. I live in LA, Reseda specifically and it's crazy expensive here. My job pays decently but I want to get ahead. I'm 41, single and have no kids so I have the time to devote to extra work. If anyone can point me in the right direction I would be very appreciative. I can send samples of my work if needed and would love to chat with someone who is in a similar situation.i think Sketchup and Layout are very versatile and prefer to use them over AutoCAD and revit. Plus the price for AutoCAD and revit are ridiculous. I have Sketchup pro on my laptop so I'm good to go using them for paid projects.i am a motivated individual who has the necessary skills to be successful in the freelance realm, I just need help kick-starting uncharted territory. So I need some good guidance to get going and am looking forward to hearing from some potential colleagues. Thanks in advance.

reddit.com
u/Oriented_Studio — 6 days ago
▲ 2 r/renderings+1 crossposts

Please help

I am trying and failing to get this image transferred to this russian nesting doll egg thing. I've started over lole 12 times. The others are easier, maybe because they're smaller and the surface isn't as curved im not sure?

Anyways my question is if anyone might be able to distort the image in a way that when I go to transfer it, it'll lay flat/straight onto the egg. Right now when I transfer it as is, its just really skinny and weird.

I tried cutting it up and laying it out different and even a projector with no luck so please if anyone has a little extra time I would really appreciate it! Its a mother's day gift and I have until Saturday to get it finished. Thank you!

(I used gemni to make the image its not my original work.)

Egg is 5.3" tall and 3"wide and I need for the image to be about 4" by 2" in the center, cut off around the legs.

Thank you in advance!

u/Insicure_Nacho — 19 hours ago
▲ 110 r/renderings+1 crossposts

I'm an architect teaching myself Blender for ArchViz to hopefully use it as part of my freelance work when I'm ready. I took an image from the internet (first image is my render, second image is the reference photo: photography Simon Bevan, Styling Jennifer Haslam) and tried to copy it in Blender with a couple of tweaks. I've found this is quite a good way of teaching myself rather than just going through endless tutorials. I use the fSpy addon to match the photo and then model over the top.

This is my first post so please be kind, but I'm open to honest feedback on how to improve. I started learning Blender a few months back, but I'm not completely new to ArchViz - I've used Enscape before but was never really happy with the quality I could get from it. Any feedback welcome on how to take this to the next level. Thanks :)

u/Numerous-Music-2503 — 11 days ago
▲ 11 r/renderings+1 crossposts

I am a builder seeking someone experienced in Real Estate renderings to create a visual representation for a home currently under construction. This person would be able to take the front elevation of a home and add depth, character, materials and other specifics to provide a realistic expectation for the finished product. Attention to detail and pride in your work are a must! Would love to see some samples of your work.

reddit.com
u/Thin-Divide399 — 6 days ago

been on rendering for years. tried one AI tool for a week on every project just to see what happens.

the speed is insane. renders that took 30-40 minutes in vray came back in under 60 seconds. for client concepts and early approvals it worked really well. clients didn't notice the difference at that stage.

where it fell short was complex materials and lighting control. anything detailed I still wanted vray.

overall saved maybe 4-5 hours across the week. not replacing vray for final work but for everything before that it's hard to ignore.

the second picture is before and the first one is after, used airender.ai for that

what do you think?

u/Nervous-Phase6007 — 8 days ago
▲ 16 r/renderings+1 crossposts

Polygons: 249,658

Vertices: 296,060

**Textures:**Yes

**Materials:**Yes

UV Mapped:Yes

u/Ok-Internal-30 — 8 days ago

I am building my own motion design software, this is a test render, 1024 samples converged + Optix denoiser, all under 1 second.

Glass material is not built yet.

Your feedback is much appreciated.

u/Hassangtn — 12 days ago