Author |
Message |
RaPsCaLLioN
|
Posted: Mon Aug 16, 2004 10:11 am Post subject: More on .RAW |
|
|
Update of .raw import. Try it with some big raw files.. I'll include one I found somewhere on the board. This should be pretty self explanatory but post any questions/comments/glitches.
Description: |
|
Download |
Filename: |
IMPORT.RAW.rar |
Filesize: |
412.59 KB |
Downloaded: |
515 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Delta
|
Posted: Mon Aug 16, 2004 11:18 am Post subject: (No subject) |
|
|
that's awesome man! I love it when you render it very nice work. Teach me the ways! Anyways... one thing... wireframe do that instead of the triangles and lil lines...
|
|
|
|
|
|
DanShadow
|
Posted: Mon Aug 16, 2004 3:26 pm Post subject: (No subject) |
|
|
OMFG! That is awesome!! Keep up the great work!!
+bits
|
|
|
|
|
|
templest
|
Posted: Wed Aug 18, 2004 10:18 am Post subject: (No subject) |
|
|
whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat....
+20 Bits
|
|
|
|
|
|
RaPsCaLLioN
|
Posted: Wed Aug 18, 2004 1:50 pm Post subject: (No subject) |
|
|
Delta wrote: that's awesome man! I love it when you render it very nice work. Teach me the ways! Anyways... one thing... wireframe do that instead of the triangles and lil lines...
I only do the lil lines if the .RAW file is really large... if u load a smaller .RAW file like uh.... ship.raw or plane2.raw... then it will use full wireframe. U can find those somewhere on the board too
|
|
|
|
|
|
templest
|
Posted: Wed Aug 18, 2004 4:47 pm Post subject: (No subject) |
|
|
I seriously doubt that you wrote those coordinate files by hand. Is this a MAYA or 3dsmax file you wrote a program to read and render, or did you really write all that out by hand?
|
|
|
|
|
|
RaPsCaLLioN
|
Posted: Wed Aug 18, 2004 6:25 pm Post subject: (No subject) |
|
|
templest wrote: I seriously doubt that you wrote those coordinate files by hand. Is this a MAYA or 3dsmax file you wrote a program to read and render, or did you really write all that out by hand?
Do you know anything about .RAW files? and I never claimed I wrote all those coordinates, are u crazy?
|
|
|
|
|
|
templest
|
Posted: Wed Aug 18, 2004 6:33 pm Post subject: (No subject) |
|
|
Nope, I have no idea what a .RAW file is.
Nope, I'm not crazy.
Nope, I never suggested that you claimed you wrote those RAW files. Since it's your program, I assumed that was yours as well. Why don't know enlighten me, wtf is a RAW file?
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Mazer
|
Posted: Wed Aug 18, 2004 8:44 pm Post subject: (No subject) |
|
|
My understanding of them is that a .raw file is simply a format for 3D meshes that simply stores coordinates for the vertices.
So, one line of the file would mean one vertex and would look like
(using actual values for the coords)
Also, and I'm not too sure about this one since I don't use this format, they may or may not store a normal vector for each face. I dunno.
It's pretty simple to write some script to export a .raw file (or another file with a similar format) using most popular 3D packages (Blender anyone?). The challenge lies in making a renderer for it in turing.
Kudos to you RaPs, kudos.
|
|
|
|
|
|
RaPsCaLLioN
|
Posted: Thu Aug 19, 2004 9:12 am Post subject: (No subject) |
|
|
No normal stored in .raw file. Each line is stored as one vertice..
code: | X1 Y1 Z1 X2 Y2 Z2 X3 Y3 Z3 |
It's just strored as plain text format. I use a program called Deep Exploration to export to .raw format. I think Catalyst suggested that.
|
|
|
|
|
|
Mazer
|
Posted: Thu Aug 19, 2004 2:19 pm Post subject: (No subject) |
|
|
RaPsCaLLioN wrote: No normal stored in .raw file. Each line is stored as one vertice..
code: | X1 Y1 Z1 X2 Y2 Z2 X3 Y3 Z3 |
Er, don't you mean one triangle?
|
|
|
|
|
|
RaPsCaLLioN
|
Posted: Thu Aug 19, 2004 4:07 pm Post subject: (No subject) |
|
|
Well... Yes whatever... One triagle/ 3 vertices
|
|
|
|
|
|
TheZsterBunny
|
Posted: Thu Aug 19, 2004 11:07 pm Post subject: (No subject) |
|
|
Incredible.
Wow.
l33t.
I've wondered how one can make program such as that. can you perchance post your source. especially the 'render' button.
wow.
-Z
+93 bits
|
|
|
|
|
|
RaPsCaLLioN
|
Posted: Fri Aug 20, 2004 2:09 am Post subject: (No subject) |
|
|
I'll post the code when I'm done tweaking.
I just noticed I didn't give any info on PgUP/PgDown - use those buttons for a better zoom... U should only use the Zoom buttons for .raw files that are coded really tiny... So yea, try PgUP/PgDown.
|
|
|
|
|
|
TheZsterBunny
|
Posted: Fri Aug 20, 2004 8:45 am Post subject: (No subject) |
|
|
Before you post the code, I'd like to take my own shot at this.
2 problems I've encountered in the past were:
-the interpretation of the Z coord
-the rotation of the shape.
How do you get around these problems?
What formulas are used for the rotation and z-interpretation?
-Z
|
|
|
|
|
|
|