1. A 3D-Modeling Languaje with Euphoria

Hi to everybody. Well, firs of all I'm sure that you know what I'm
 going to ask, you know, the subject....

 Ok, I'm working in a project that like others languajes like POV, create
 3D-worlds. My intention is no to create another POV, only a modeling
 languaje with euphoria to display 3d-worlds.

 My program would be like this: the euphoria program will read an ANSII file
 in where there are the script languaje, then, the program will interpreter
 this commands and will display into the screen.

 For instance:  CUBE (
                       position 10 20 10
                       ratio 20
                       color green
                       type solid
                      )

 this would be an example of the languaje i want to create, my problem is
 how can i do the visor with his movementes left, right, foward, back.
 And interact whit the objects, i mean, if there is a block in front of
 the "walker" (user) then, we couldn't go throw it, like a wall.

 Well this is all, I hope somebody would help me. Thank you a lot.

 ----------------------------------------------------------------------------

new topic     » topic index » view message » categorize

2. Re: A 3D-Modeling Languaje with Euphoria

>  this would be an example of the languaje i want to create, my problem is
>  how can i do the visor with his movementes left, right, foward, back.
>  And interact whit the objects, i mean, if there is a block in front of
>  the "walker" (user) then, we couldn't go throw it, like a wall.
>
>  Well this is all, I hope somebody would help me. Thank you a lot.
>
>
----------------------------------------------------------------------------


I'm not too up to speed on 3-D worlds modelling languages, so what I have
to say may not help too much, but I am going to try.

Euphoria's sequence variables, particularly those that contain a 3-D array,
would be perfect for what you would want to do. Your universe would consist
of a 3 level sequence where each individual atom would represent a unit of
measurement of space, like an inch or centimeter. Each atom would have one
of two values...1 for occupied space, 0 for open space. Any shapes that
exist in this world would have a series of values set to 1 across a subset
of sequence values. Thus, in order for you to move around in this world,
you simply adjust the x,y, and z positions that represent your location in
the 3-D sequence. This would give you the ability to fly as offered in most
3-D engines. Any values set to 1 would mean space you cannot move into.

As I said, this is only a sketch based on my minimal understanding of 3-D
worlds. I hope someone would add more useful data to what I have offered to
help you.

Thanks

David Gay
http://www.interlog.com/~moggie/Euphoria
"A Beginner's Guide To Euphora"

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu