|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Fri Jul 25, 2008 2:19 am Post subject: |
|
|
John,
I still use my own pixel depth colour routine for hidden line removal, rather than OpenGL. I've adapted it to a virtual screen, 4000x3000 resolution for improved clarity of dumps to .pcx files and it runs at about 10 frames per second. My input are flat(ish) well behaved polygons, where every node of the polygon has (x,y,z,c) C represents a colour range value for a pre-defined spectrum.
To draw the pixel result to the screen, I scan each line of the colour array, drawing lines where the colour is the same.
While OpenGL is be far better for displaying curved surfaces, my crude approach works well for flat faces.
I've overcome the walk-thru problem by using a small porthole, with much faster refresh rates.
I still retain a lot of the plot-10 functionality, and it's hard to let go of code that gives a lot of flexibility.
I find a lot of the superier OpenGL style graphical displays often comprimise good looks for accuracy, especially where result "smoothing" takes place.
John |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Fri Jul 25, 2008 9:06 am Post subject: |
|
|
Dan,
I made the assumption that you were university based like me, and thus had access to a huge library with "inter-library loans" on demand - which is why I posted the ISBN.
Send me a private message with your postal address - I'm in the UK, so it may take a week or two to arrive in the US. You can let me have it back when you are finished with it.
Eddie |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Fri Jul 25, 2008 10:15 pm Post subject: |
|
|
Thanks, Eddie, for offered help, I will try to find advice on the net first, then if the book is available here, and if fail, then may be will ask you to send the book... |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Sat Jul 26, 2008 6:49 am Post subject: |
|
|
Most of the functions in windf95.ins have been transcribed for you in win32api.ins and similar include files containing STDCALL declarations.
There appear to be some omissions and I do not know if they are deliberate or accidental.
I take the point about the lack of examples. All we need is some benefactor to send us a pile of money so we can pay people to do the work. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2816 Location: South Pole, Antarctica
|
Posted: Sat Jul 26, 2008 12:42 pm Post subject: |
|
|
1) How about outsorcing this job, Paul ? If this still is not financially possible then
2) Ask users of compiler to make a 2-3 most interesting additions to the library of "Users Examples and Snippets", which could be published as is, with no warranties in all next releases expanding it with time. Future users of these examples of course can email to the authors their questions, bug reports and suggestions |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|