3D rendering
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: 3D rendering
I would like to use the 3D to create a intro or something. You know what I mean?
Check out my latest game: http://love2d.org/forums/viewtopic.php?f=5&t=33349
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: 3D rendering
If it's short then render it in Blender (or something) and play back the frames.spynaz wrote:I would like to use the 3D to create a intro or something. You know what I mean?
Re: 3D rendering
I think we should work more in 1D. Lines are the shit.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: 3D rendering
How would I play the frames in LOVE then?retrotails wrote:If it's short then render it in Blender (or something) and play back the frames.
Check out my latest game: http://love2d.org/forums/viewtopic.php?f=5&t=33349
Re: 3D rendering
There's a library for playing MJPEG somewhere here on the forums. It works okay as long as the resolution isn't all that high. But the video file will likely be larger than the rest of your project This kind of reminds me of how old SEGA games, the "SEE-GAAH" sound took up a really significant amount of the cartridge space.spynaz wrote:How would I play the frames in LOVE then?retrotails wrote:If it's short then render it in Blender (or something) and play back the frames.
But it really depends on what kind of 3D animation you're thinking of. If it's something simple then you can probably get it done in LÖVE.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: 3D rendering
Ok.T-Bone wrote:There's a library for playing MJPEG somewhere here on the forums. It works okay as long as the resolution isn't all that high. But the video file will likely be larger than the rest of your project This kind of reminds me of how old SEGA games, the "SEE-GAAH" sound took up a really significant amount of the cartridge space.spynaz wrote:How would I play the frames in LOVE then?retrotails wrote:If it's short then render it in Blender (or something) and play back the frames.
But it really depends on what kind of 3D animation you're thinking of. If it's something simple then you can probably get it done in LÖVE.
Check out my latest game: http://love2d.org/forums/viewtopic.php?f=5&t=33349
Re: 3D rendering
Well, getting off topic here, but technically 1D would not be visible from the eye. Of course this is basic logic as 1 dimension implies it only stretches out one way, then there would be no line. Just a invisible body that has a length or a height.T-Bone wrote:I think we should work more in 1D. Lines are the shit.
Code: Select all
_________
this is still 2D, as it has 1 pixel height. This is an example of 1D:
Code: Select all
L
L Ö
Ö V
L Ö V E
Ö B E
V E
E Y
-
- Prole
- Posts: 44
- Joined: Sat Dec 15, 2012 7:55 am
Re: 3D rendering
Hey, I've found these resources to be helpful for implementing 3D projection: This short page covers simple 3d wireframe rendering and includes coordinate translation, rotation (About x, y, z axis), scaling, camera view, and perspective transforms. http://www.kmjn.org/notes/3d_rendering_intro.html
And once you implement the above, this page has a derivation for a rotation transform about any axis: http://inside.mines.edu/fs_home/gmurray ... sRotation/
If you are not familiar with vector and matrix math, you'll want to look up matrix multiplication, vector addition, vector dot product, and vector cross product.
Chapter 2 of this book explains vectors, matrices, and transforms for 3D graphics and also includes implementations in C++. I'd also reccommend this book as an excellent resource for raytracing.
http://books.google.ca/books?id=9nJBAJh ... 02&f=false
And once you implement the above, this page has a derivation for a rotation transform about any axis: http://inside.mines.edu/fs_home/gmurray ... sRotation/
If you are not familiar with vector and matrix math, you'll want to look up matrix multiplication, vector addition, vector dot product, and vector cross product.
Chapter 2 of this book explains vectors, matrices, and transforms for 3D graphics and also includes implementations in C++. I'd also reccommend this book as an excellent resource for raytracing.
http://books.google.ca/books?id=9nJBAJh ... 02&f=false
Re: 3D rendering
Thanks for the info.rexjericho wrote:Hey, I've found these resources to be helpful for implementing 3D projection: This short page covers simple 3d wireframe rendering and includes coordinate translation, rotation (About x, y, z axis), scaling, camera view, and perspective transforms. http://www.kmjn.org/notes/3d_rendering_intro.html
And once you implement the above, this page has a derivation for a rotation transform about any axis: http://inside.mines.edu/fs_home/gmurray ... sRotation/
If you are not familiar with vector and matrix math, you'll want to look up matrix multiplication, vector addition, vector dot product, and vector cross product.
Chapter 2 of this book explains vectors, matrices, and transforms for 3D graphics and also includes implementations in C++. I'd also reccommend this book as an excellent resource for raytracing.
http://books.google.ca/books?id=9nJBAJh ... 02&f=false
Check out my latest game: http://love2d.org/forums/viewtopic.php?f=5&t=33349
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests