3d-graphics

Intuitive 3D Math Resources

I have been trying to find some well presented and explained Vector and Quaternion resources recently to brush up on my 3D skills, and have been having some trouble. Most of the resources I have found tend skip over the high-level reason that performing a particular operation is useful, and dives straight into jargon and proofs that te...

SIMPLE 3D rendering in C#

Hi All, I am a visual person, if I can visualize something it often makes more sense to me. Is there a simple way to render data in 3D to use for simple visualizations? What I effectively would like to do is the following: I have a 3 dimensional Array of Int32's: Int32[,,] data = new Int32[256,256,256]; I fill this array with data,...

OpenGL for space simulators

Hi all, with a few friends we started this amateur platform-independent java-based project for a space combat simulator game (something like the long dead saga of wing commander). None of us though is a 3D programmer, so the road is gonna be long. My question is: in our place would you start learning OpenGL (maybe via GLUT) or is there...

Cubic Environment Mapping in VTK

Is it possible to do Cubic Environment Mapping with VTK 5.4 ?? If it is, how can I do it ? ...

Picking in java 2d

I am using java2d to draw a simple graph at the moment I have implemented picking by calling contains(MousePoint) for each object/shape, this works but scales linearly. Is there a more efficient method for picking in java2d? ...

Flipping the Y axis in vtk

Is there a way that I can make VTK have the Y axis go down (when increasing values) rather than up? I'd like my VTK windows to match my non-VTK windows in displaying data, which all have the Y axis going down. ...

OpenGL texture loading issue

This is a very vague problem, so please feel free to clarify anything about this project. I'm working on a very large application, and recently a very perplexing bug has cropped up regarding the texturing. Some of the textures that we are loading are being loaded - I've stepped through the code, and it runs - but all OpenGL renders for ...

Rotation of camera used for perspective projection

I've just started playing with OpenGl to render a number of structure each comprising a number of polygon. Basically I want to perform the equivalent of setting a camera at (0,0,z) in the world (structure) coordinates and rotate it about the x,y and z-axes of the world axes (in that order!) to render a view of each structure (as I under...

3d max integration with c++, Cal3D where to start?

okay i'm making a game using c++ (for the engine) and openGL, now i've had lots of trouble using cal3d library for importing my 3d max models into my c++ project, as a matter of fact i dunno where to even start, i can't find any decent guide and their documentation is pure shit really. i've been searching and trying stuff in this for ov...

gluProject on NDS?

I've been struggling with this for a good while now. I'm trying to determine the screen coordinates of the vertexes in a model on the screen of my NDS using devKitPro. The library seems to implement some functionality of OpenGL, but in particular, the gluProject function is missing, which would (I assume) allow me to do just exactly that...

Introduction to 3D Graphics Programming

Hi everyone! I'm a self-taught programmer with absolutely nil 3D programming experience. A client of mine has related to me an idea for an iPhone app that requires OpenGL ES 2.0 for it's inherently complex 3D structure and animations. Where do I start on this ( albeit long ) journey toward OpenGL ES competence? I'm willing to put in ...

What language should I learn to prepare for WebGL?

I am thinking about making a 3D game with WebGL (just for conceptual purposes, for now), but all I have never done anything in 3D and have only programmed in PHP for the most part. From what I understand, WebGL is Javascript, which I use heavily in all of my projects, but it is also my understanding that it is very different from regula...

what is the Euler rotation convention in truevision3d?

In what axis order are Euler angles rotated in the graphics API true vision 3d (tv3d)? I haven't been able to find it in any documentation. ...

Direct3D Mesh with combination of lines and triangles

I need to create a Direct3D mesh consisting of some vertices (generated at run-time) which I need rendered as a combination of LineList and TriangleList. i.e. some vertices are rendered as a LineList and some of them as a TriangleList. How can I create this Direct3D mesh? ...

Direct3D: What does the stream number do in device->SetStreamSource?

Where else is the stream number used other than in these two places: GetStreamSource and SetStreamSource? ...

Given a surface normal, find rotation for 3D Plane

So I have a 3D Plane described by 2 Vectors: P : a point which lies on the Plane N : the surface normal for the Plane And i have a very large, flat square Polygon, which I want to render to represent this Plane. I can easily translate the polygon to the given point, but then I need to find the proper rotation to apply to make the...

I'm a programmer who knows nothing about 3D graphics...

okay. so I want to know how to make game 3D models and design levels. where to start? A free open source solution would be best. Additionally, how do you create those realistic looking textures on 3D objects? Is Blender a good choice? Is there an outsource or market place for purchasing game assets? ...

How do I format a PLOT3D file for ParaView?

I'm trying to describe the shape of a rabbit heart in order for simulations to be visualised with ParaView. The problem I'm having is that ParaView would like the geometry to be described in PLOT3D format, a clear description of which I'm struggling to find online. The geometry I have consists of a regular 3D mesh, from which only some...

Java/Graphics: Plotting 3d coordinates?

hi, I'm coding a programm, that will produce 3d coordinates for a rocket and I would like to do a rudimentally graphic output for this. it just has to be scaleable and rotationable, so that you can change the view manually. the postions should be connected by lines and it ould be nice to have spheres for earth and moon ( and perhaps ad...

suggestions for a 3D graph rendering library?

Hello coders! So I'm not sure how stackoverflow friendly this question is since it doesn't have a quick clear cut answer but here we go... I have a java program that generates data for a directed graph. Now I need to render this graph. The data needs to be laid out in 3D, and I want to be able to define which plane an edge lives in. (...