3D Object Viewer (was: Open-source: Presentation software)

Lynch, Jonathan BNZ2 at CDC.GOV
Thu Jan 6 15:05:50 EST 2005


I have been thinking extensively about that very idea!

It would require having custom properties for each object that would
appear in the 3-D space that defines that object's location in 3-D
space.

Then, when the card preloads, you take the data for all objects inside
the group with the image that will show the 3-D picture, and create an
array of all 3-D pixels. Empty/transparent pixels would not be included
in the array (otherwise it would get too large to be practical).
Although this interim array step would slow down the loading up of a
card, it would speed up the calculations needed for navigating in the
3-D space.

Then, a script calculates a line that is perpendicular to each point on
an imaginary plane (the imaginary plane being the view perspective).
Whatever point in the array of points that is closest to the imaginary
plane, along the line that is perpendicular to that point, is placed in
the Z-buffer.

When the Z-buffer is full, and thus the entire viewpoint for the
imaginary plane has been mapped out, then the Z-buffer is transferred
into the viewing image.

It sounds easy, but there is a lot to consider - like optimizing
calculations so that moving through the 3-D space does not take forever,
and figuring out the parallax equations, so that large objects appear to
taper into the distance.

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Gordon
Webster
Sent: Thursday, January 06, 2005 2:52 PM
To: How to use Revolution
Subject: RE: 3D Object Viewer (was: Open-source: Presentation software)

A 3D object viewer for rev, now you're talking!

My personal dream would be to see a set of openGL
bindings for rev that would allow you to create a 3D
viewport window on a rev stack - perhaps embedded in
an image object the way Chipp's altBrowser is.

BTW: OpenGL is cross-platform too :-)

Gordon


--- "Lynch, Jonathan" <BNZ2 at CDC.GOV> wrote:

> What kind of objects does your presentation software
> use? By that, I
> mean, I assume it does fields, pictures, audio, and
> video. Any other
> types of objects? I have been thinking that a 3-D
> object viewer would be
> a great object. (I hope no one objects to my overuse
> of the word
> 'object' here, which, objectively speaking, I am
> definitely overusing).
> 
> I also think a 3-D animated character generator that
> speaks to the
> viewer, using whatever text is sent to it from a
> handler, would be
> nifty.
> 
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On
> Behalf Of Mark
> Talluto
> Sent: Thursday, January 06, 2005 2:24 PM
> To: Revolution use Revolution
> Subject: Open-source: Presentation software
> 
> Some time ago I created a commercial product called
> Multimedia 
> Generator.  This is presentation software that was
> designed for the 
> education market.  We ended up getting users in many
> different markets 
> over time.  The software is pretty easy to use, but
> does lack some 
> polish and features from talented folks like you.
> 
> If you are interested in joining an open-source
> effort to make a better 
> presentation tool using Rev, please join the group I
> have created at 
> Yahoo:<http://groups.yahoo.com/group/mmgen/>
> 
> Thanks for taking a look!
> 
> -- 
> Best regards,
> Mark Talluto
> http://www.canelasoftware.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> 


=====
:::::::::: Gordon Webster ::::::::::
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


More information about the Use-livecode mailing list