U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3458
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 Smile

A question: the broken panels selected in red, are they a defect from the original model, or are a defect in rendering?

index.php?t=getfile&id=6946&private=0
  • Attachment: image.png
    (Size: 109.61KB, Downloaded 536 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2025.1 on Flathub
Next Topic: Vertical labels now supported
Goto Forum:
  


Current Time: Mon May 11 01:29:16 GMT+2 2026

Total time taken to generate the page: 0.00538 seconds