Home » Community » U++ community news and announcements » Geom cleanup - what do you use?
Re: Geom cleanup - what do you use? [message #60643 is a reply to message #60642] |
Tue, 18 June 2024 15:58   |
 |
koldo
Messages: 3443 Registered: August 2008
|
Senior Veteran |
|
|
Hi Oblivion
Although I think the original post was not devoted to show this code, it is very interesting.
To run it in Windows and CLANG as deployed in U++, I have had to do a couple of changes:
- Set 'struct' instead of 'class' in 'template<typename T> struct Point3_;'
- In 'Perspective', 'Frustum' and 'Ortographic', replace 'near' and 'far' with other names. Maybe they are reserved.
The speed is right, even moving >15000 panels. I have opened the teapot four times, moving it to different positions to avoid overlapping.
There are minor details that can be added, such as the definition of background colour, object colour, location and lighting intensity, but, overall, this demo has the highest interest versus size ratio I've seen in a long time
A question: the broken panels selected in red, are they a defect from the original model, or are a defect in rendering?
-
Attachment: image.png
(Size: 109.61KB, Downloaded 347 times)
Best regards
IƱaki
|
|
|
Goto Forum:
Current Time: Fri Aug 15 21:57:29 CEST 2025
Total time taken to generate the page: 0.08466 seconds
|