3d

Start with a scene graph engine or with opengl direct?

I am a professional developer working mostly with Java but on my spare time i like to play around with different languages and libraries. The thing is that i want to start learning how to develop 3D enabled applications or games. There are alot of engines out there but im afraid that by using those directly i will fail to learn the basic...

Is it better to skip OpenGL 2.X and start learning OpenGL 3.X?

Are there huge differences in OpenGL 3.x vs 2.x? Is it waste of time learning OpenGL 2.x or are they both following the same concept? I think i read somewhere that 2.x was state based and that 3.x was not, is that correct? ...

not reimplementing GUI controls on new 'platform'

We're doing some serious games interface work. Games allow unique new interfaces, but we also want to avoid having to reimplement traditional 2D controls, we want to leverage the years of refinement to windows controls. How would we go about hosting and rendering .NET controls in a '3D' context? 3D in the sense of, eventually they wil...

WPF 3D - Apply a tranformation, change the underlying object values

Hi, I've got a method that transforms a number of cylinders. If I run the method a second time it transforms the cylinders from their original position rather than their new position. Is there anyway of 'applying' the transformation so that it changes the underlying values of the cylinders so that I can re-transform from the new val...

How to draw a 2d overlay on a Java 3d scene?

I have a scene written in Java 3d, where the user's viewing position is set to some coordinate using the following code: ViewingPlatform vp = simpleUniverse.getViewingPlatform(); TransformGroup steerTG = vp.getViewPlatformTransform(); Transform3D t3d = new Transform3D(); steerTG.getTransform(t3d); t3d.lookAt( new Point3d(-5, 1...

What is the best way to create a nested opengl canvas

I would like to write a library that draws some opengl on a given window handle. How can I initialize an opengl-context inside a given window? Is it possible to do that platform independent using SDL or some other library? ...

Getting the face of a cube.

I want to calculate which face on a cube has been clicked. I've got the mouse to 3D down, and I can draw things, in 3D, at the mouse's position. All I need to do now is calculate WHAT face of a cube is being touched. EG. I have a function, when I pass the size, position and mouse position to it, it returns the face. Top, bottom, left, ...

How to blend color of two sprites with constant alpha in DirectX?

Essentially, what I want to do (in DirectX) is to take two partially-transparent images and blend them together. This works fine with default blending, insofar as they both show up as overlapping, etc. However, the problem is that the opacity goes up markedly where the two intersect. This causes increasing problems as more sprites ove...

XNA View Matrix - Seeking explanation

I'm having some serious trouble understanding the view matrix in XNA. I've come pretty far with all the other parts and since I've just learnt myself the required maths I don't want to use the built in Matrix-functions without understanding what they do first. Now I understand the basics of rotation, projection and translation but I can...

Programming Optical 3D-sensors after difficult measurement in Visual C++

Hello, I obtained three dimensional data from my optical system in Visual C++.And I want to show this profiler on windows form application.Is there any special library you could advise to me?And How can I customize this library in Visual C++. Could you help me please? Yours Sincerely.... ...

Which 3D engine for ruby

i am looking for a 3D engine for developing a ruby game. i found some like G3Druby or ogrerb. which one is better to use and has better functionality? is there any other engine better than these? ...

How to rotate gradient along with sides of 3D cube in Flash - actionscript 3.0

Hello I got goal to achieve, 3d cube manipulated with mouse with gradient filling on each wall. I found some source codes coresponding to gradients and 3d rotating cube but here is the problem: When i put these two things together the effect looks like the cube was a wireframe with transparency to some gradient background hidden behind...

which data structure is appropriate to query "all points within distance d from point p"

hey there! i have a 3D pointcloud and i'd like to efficiently query all points within distance d from an arbitrary point p (which is not necessarily part of the stored pointcloud) the querry would look something like Pointcloud getAllPoints(Point p, float d); what accelerationstructure would be appropriate for this? A range-tree see...

How To Produce A 2D Plane Cut from a 3D Image

Hi, I would like to write a C# program that generates a 2D image from a rendered 3D object(s) by "slicing" the 3D object or through a cut-plane. The desired output of the 2D image should be data that can be displayed using a CAD. For example: A 3D image is defined by its vertices, these vertices is contained within Point3DList(). A meth...

Programmatically add 3-D shapes to Bing Maps (Virtual Earth)

How can I programmatically add 3-D shapes to Bing Maps (Virtual Earth)? ...

Is it possible to use Panda3D inside a wxPython app?

I'm developing a wxPython application. Will it be possible to embed a 3D animation controlled by Panda3D inside the gui? Bonus question: Do you think that Panda3D is the best choice? (My interest is physical simulations, and no, I don't need an engine that supports Physics, my program is responsible for calculating the physics, I just n...

What are some 3D games written in C#?

I've been searching on Google for some C# programs. I have found Paint.NET. Is that the only C# program out there? What about games? Someone have a link to 3D game in C#? ...

How to compute a pair of closest points on two 3d circles?

I have two 2d circles in 3d space (defined by a center, normal, and radius) and I'm trying to come up with a pair of points that is one of the set of closest pairs of points. I know that there are anywhere from 1 to an infinite number of point pairs, I just need a single matching pair. Is there a simple way to do that? Precision is no...

WPF: is it possible to have a content container move 3d dimenisional in a modelvisual3d element ?

i was learning 3d animation in wpf.. and most tutorials would make an image 3d then play with it alittle ..moving and changing dimensions.. so it got me wondering.. is it possible to add some type of data container (like a grid canvas.. or whatever).. and make it move in 3d dimensons too ? i am not talking about skewing.. i am talkin...

Render to BufferedImage in Java3D

Is there a simple way of rendering to a BufferedImage in Java3D? I know you can extend Canvas3D, but it seems cumbersome if I just want to render directly. ...