Insane doesn't mean you should never try it.bartbes wrote:You're insane if you're going to do 3d without a backend like OpenGL. Luckily those also do stuff like projection for you, meaning it's a lot easier.
Just a question, Love3D?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Just a question, Love3D?
Help us help you: attach a .love.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Just a question, Love3D?
Not necesarily. OpenGL for example provides function for drawing 3d stuff. Things like "draw a cube here" or "draw a 3d polygon with texture there" can be done with 3 or 4 lines of code (then, you can add as much complexity as you need. the sky is the limit!)Ryne wrote: Wouldn't you have to do that if you were programming from absolute scratch as well?
If you where using a 2d lib or engine for that, you would have to program by yourself even the most elementary stuff - like drawing textured polygons, for example. The minimum number of lines for drawing one spinning cube and one textured polygon would easily reach the 1000 lines of code (you would basically have to re-implement a small OpenGL yourself). So it would take 1-2 months to accomplish what takes one afternoon using OpenGL. And it would be much less efficient (OpenGL uses hardware acceleration and machine code internally, you would not have that)
That said, it is possible. Some people have already tried. See Jasoco's 3D model extravaganza
When I write def I mean function.
Re: Just a question, Love3D?
Kikito, I did my (very ugly textures that I can't screenshot atm) in less than 200 lines of code.
Hello, I am not dead.
Re: Just a question, Love3D?
Thats pretty cool! I wanted to check out Jasoco's but the download link on the thread is broken.zac352 wrote:Kikito, I did my (very ugly textures that I can't screenshot atm) in less than 200 lines of code.
@rynesaur
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Just a question, Love3D?
Here's a new version for you!
http://love2d.org/forums/viewtopic.php? ... 601#p22601
http://love2d.org/forums/viewtopic.php? ... 601#p22601
Re: Just a question, Love3D?
If I could use a computer with an openGL implementation that isn't ancient, then I could work on textures. I added scissoring to a triangle shape, but that's it.
Hello, I am not dead.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest