3d-graphics

Is there a need to code a new 3D engine?

Coding a new 3D engine is fascinating but I there are so many out there. Is it sane for a programmer to start a new one? Are there industry sections in need? ...

How to do z-ordering in software correctly

I am rendering 3D objects on a 2D canvas by doing all necessary calculations in software. I am not using graphics acceleration. Initially all the objects were cubes of same size, so I could sort them based on their distance in Z from camera and that would order them correctly. But now I am trying to draw cubes of varying dimensions. Th...

What's "graphics software stack"?

Should be a pretty low level conception, would someone explain please? ...

resources for learning 3D basics (Python / JavaScript)

While I consider myself a reasonably competent programmer, I have no experience with even the most basic graphics programming. Are there any recommended resources for learning the basics of 3D programming - preferably using a high-level language like Python or JavaScript? Ideally, I'd like a simple hello world example in canvas or WebG...

Skybox vs Skysphere

What are some advantages and disadvantages between the two. Especially for something like a 3D game. ...

Opinions on a 3D rendering environment for a project?

I have a term project coming up in grad school for a simple 3D image render (an intro to graphics class) and I was wondering if there are any opinions out there one which free 3D environment might be the best to use? I know this is a subjective question, but I want to hear people's opinions. Some of the ones recommended in class were...

Exporting materials to seperate .tga UV map file in blender

Hi I have added materials (colors) to a 3D model. How to export to an .obj file, along with a .tga file as a UV unwrapped file ? In other words, I want the .tga file to contain all materials (colors) that I added, so that an image file taken as reference. Thanks. ...

Looking for an example application, including source code, that displays blender created 3d graphics on the iphone

Is there a documented example that shows the process of taking 3D models and animations created on blender, and displaying them as part of an iPhone/iPad application? ...

What does a 3D Engine do for me?

I'm interested in developing an android application that will display a globe of some sort like Google Earth. I've never used opengl or have any experience with graphic programming so I'm here to learn some basics. Now, I know there are things like the Unity or Ogre that help facilitate graphics but what exactly do I gain from using the...

Want to find some 20 lines code snippet that can draw a "water fountain" using sin() and cos(), with "hidden invisible lines"

Does someone still have any 3D Graphics book for the Apple II computer back in the 80s for those code? Or have code snippet that can draw 3D graphics like a fountain using a 2D canvas with sin(), cos() and tan() and just 20, 30 lines of code and even do hidden invisible lines. Those code should be reusable using an HTML5 canvas. (That...

Finding the endpoint of a vertex given startpoint of vertex and midpoint of shape

Given that: The shape is a regular polygon in 3D space The start point (the end of one arbitrary vertex of the shape) is known the point in the middle of the shape (not on an edge - equidistant from all corners) is known the angle at each corner (((numEdges-2)*PI)/numEdges), the radius of the shape (distance from a corner to the midp...

reverse engineering a camera

If I have a list of 3D points and their 2D projection on screen, is there a way to compute the camera that performed the projection? I am using the WPF perspective camera. ...

Arbitrary ray test using C# and WPF

I want to know if a ray from an arbitrary point will strike a polygon. It would be useful to know the point in space that intersection occurs and also a reference to that polygon. I'm using the System.Windows.Media.Media3D library and have done a ray trace test but have yet to crack any of teh information i want out of the HitTestResult ...

Traveling along the surface of a sphere using quaternions

I'm programming a 3D game where the user controls a first-person camera, and movement is constrained to the inside surface of a sphere. I've managed to constrain the movement, but I'm having trouble figuring out how to manage the camera orientation using quaternions. Ideally the camera up vector should point along the normal of the spher...

Trying to create spinning propeller. Keeps spinning around origin, not itself.

Hi. I'm trying to create a spinning airplane propeller in Java 3D. At the moment, it is rotating around the origin. However, I need it to rotate around itself. I haven't done much 3D graphics in Java, so I'm pretty much stumped. TransformGroup rotateTheBlades = new TransformGroup(); rotateTheBlades.setCapability(TransformGroup.ALLOW_TRA...