To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 1731
1730  |  1732
Subject: 
Re: Some secrets of MLCad revealed ...
Newsgroups: 
lugnet.cad.mlcad
Date: 
Wed, 9 Jul 2003 16:25:37 GMT
Viewed: 
3809 times
  
Hi Don,

"Don Heyse" schrieb im Newsbeitrag news:HHrE7q.1vCq@lugnet.com...
I'm a bit behind on this thread, but thanks Michael.  That explains
a lot.  I never thought of the image buffering approach for orthographic
displays.  It's a really neat idea!  I do have a question though.  How
do you handle colors in the image buffers?  I guess the image buffers
don't go with the cached parts, but with a colored instance of the part?
Or do you add the color when you adjust to the final Z values?

I can imagine using precalculated images would do wonders for rendering
all the studs in an orthographic projection.  Have you thought about
using Lars' bounding box occlusion test for eliminating needless stud
drawing in pespective renderings?

Thanks,

Don

The image buffers, just keep the light information in it, but not the color
itself, the color is assigned
during pasting the image onto the screen.

I think I haven't used Lars bounding box test yet, but I've tried several
others, which lead to a
result that the rendering time was nearly the same with or without the
tests.
I've done some optimisations and speedup on the rendering code (nothing
special just using c/c++ programming tricks), and
it's seems it's realy fast so that such smaller optimisations to not count.
Will see maybe the rendering stuff is in assembler some day ...

Michael



Message has 1 Reply:
  Re: Some secrets of MLCad revealed ...
 
(...) Yes, that makes sense. Hey, I did a little searching and found some references to "depth sprites" which seem to be supported in some of the latest graphics hardware. I haven't read it yet, but the pictures in this article seem to indicate that (...) (21 years ago, 9-Jul-03, to lugnet.cad.mlcad, lugnet.cad.dev)

Message is in Reply To:
  Re: Some secrets of MLCad revealed ...
 
(...) I'm a bit behind on this thread, but thanks Michael. That explains a lot. I never thought of the image buffering approach for orthographic displays. It's a really neat idea! I do have a question though. How do you handle colors in the image (...) (21 years ago, 9-Jul-03, to lugnet.cad.mlcad)

12 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR