3d

How to create a fractal cube?

I would like to render volumetric clouds in OpenGL. I found an interesting paper that describes a simple technique to render volumetric clouds. (http://www.inframez.com/events_volclouds_slide18.htm) However I don't know how to create their "fractal cube" (or perlin-noise cube). My question is: how to create the 6 tileable fractal textur...

Is it possible to render direct3d graphics over tcp/ip or another network protocol?

Hi, I have 3 machines which I would like to setup as a cluster for distributed rendering of 3d graphics, more specific Direct3d. I can do this with Opengl using Wiregl (http://graphics.stanford.edu/software/wiregl/) or better yet Chromium. Does a solution exist for doing the same with Direct3d? Thanks in advance ...

Smallest set of rectangles describing a set of integer points

Given a set of N-dimensional integer points how do I find the smallest set of N-dimensional cuboids (rectangles in the 2-d case), such that an integer point is in the set of integer points if and only if it's contained in one or more of the cuboids/rectangles. Integer point means a point with integer coordinates. e.g. given the points (...

Does OpenGL ES support environment shaders?

I want to make metallic 3d object that appears to be reflective. I want to accomplish this using an environment shader that uses either a sphere or cube map that I can assign an image or texture as the "reflection" source. Does OpenGL ES on the iPhone support this in any versions? ...

What is the simplest 3D program to draw in a window?

I program in 3D using C++, OpenGL and wxWidgets. Not being much aware of what is happening in the other programming language/frameworks, I got this question: Which programming language (or programming platform) is the easiest today for a beginning 3D programmer today? (Not necessarily a game programmer!) Demonstrate your case by showing...

3d plotting library in vc++

Hi All I want to plot some data in 3D in VC++. I searched the internet and MSDN for not much help. In SO, I found many links towards gnu, and things like that, which are (not) windows stuff. If possible, can someone point me to some 3d plot API, or source for VC++ ... Thank you ...

Silverlight 3 - 3D Engine

Hi, I understand that with the new Projection feature of Silverlight 3, it should be relatively easy to display simple 3D objects like cubes. Is there a 3D engine in works, that uses those SL 3 features to produce 3D scenes? I know that there is Kit3D, but it seems it still runs on SL 1 or 2 and the project website is updated very rare...

Converting a depth texture sample to a distance

I'm currently reading from a depth texture in a postprocess depth of field shader using the following GLSL code: vec4 depthSample = texture2D(sDepthTexture, tcScreen); float depth = depthSample.x * 255.0 / 256.0 + depthSample.y * 255.0 / 65536.0 + depthSample.z * 255.0 / 16777216.0; And then converting the ...

Recommended XNA tutorials to start to learn 3D (for the first time)

I have learned a good deal of XNA in 2D and have created a good number of the classic games using XNA (Breakout, pong, a platformer, tetris) and feel quite confident about using it. I managed this using guesswork and Microsoft's meager 2D XNA tutorials. However, now I want to begin to learn how to code games in 3D and it seems there is...

Example models with texture coordinates?

I'm writing a small OpenGL demo and I would really like to show some example models with textures. The trouble is I have a really tough time finding such models. There are tons of repositories of 3D models in various formats but it seems that only a small fraction of them have texture coordinates. I'm looking for find some well known st...

A project I'm assisting with is using freeglut for the client. Should I advise otherwise?

I'm involved in a development project that is using freeglut (based on the long defunct glut) for it's client. The client will eventually allow full interaction with a large-scale 3d environment. Should I let the development continue with freeglut (is it even possible) or should I advise they use another alternative such as libsdl, open...

3D File Formats for Games

I'm getting started with XNA and Blender and am trying to find good quality, up to date information on the various 3D file formats that are used in game development. Clearly many games are developed with multiple and custom 3D file formats, but I'm interested in choosing a good solution using a more commonly supported format. What are ...

Signed Angle in 3D Vectors

This is a purely math question, I believe. I have a camera object in an arbitrary coordinate system. I have the direction vector of the camera, and I have a vector that points in the direction of north along the surface of the sphere. I wish to calculate the angle of the camera in regards to the north vector. Is there a simple way to c...

How to embed shader information in a .x file

I'm writting a small graphics program using directx9 which imports some model files created using blender from .x files. So far so good. The models have materials which have textures and it's simple to get the texture names and properly render the objects however I'd like to use different effect (shader) files on some of the materials b...

Generating a 3D GUI through CGI

Hello, I'm implementing a web application that is written in C++ using CGI. Is it possible to use a 3D drawn GUI that also has animations? Should I just include some kind of mechanism that generates animated gifs and uses an image map? Is there another, more elegant way of doing this? EDIT: So it sums up to Java or Silverlight or Flash ...

Best 3D Java Engine

Looking for an easy to use 3D Java Engine API (i.e. not wrapper) that has a good community and good development. Extra features (i.e. audio, input, etc.) are not necessary but nice. List of the most popular Java 3D graphics APIs I found: Wrappers / Low Level Jogl - Strong community / Good support / Active Java3D - Abandoned (or slowl...

Determine ordering of polygon 3D

Hello, I have a list of vertices 3D, creating a polygon. I need to triangulate it and i use the cutting ears algorithm. My polygons are non-convex, so i need to find the concave angles in the polygon. I also dont know wich orientation are my polygons ( clockwise or counter clocwise) Could anyone help me how to determine if is clockwise...

3d lines in as3 (flash10)

is there a straightforward way to draw 3d lines with graphics.lineTo()/moveTo()? I havent run into anytihng. both of these methods only use x/y for their coordinates. Im using the 'z' coordinate on my sprites and want to connect them with lines... help is appreciated ...

WPF animation of multiple 3D objects doing multiple transforms each

I'm working on a WPF 3D project where I can have multiple (1 - 20'ish) ModelVisual3D objects being moved around the scene via animation. Each ModelVisual3D has both a RotateTransform3D and a TranslateTransform3D applied to it each move. And each ModelVisual3D object moves independently of each other. So right now in order to do this, ...

BlackBerry - image 3D transform

I know how to rotate image on any angle with drawTexturePath: int displayWidth = Display.getWidth(); int displayHeight = Display.getHeight(); int[] x = new int[] { 0, displayWidth, displayWidth, 0 }; int[] x = new int[] { 0, 0, displayHeight, displayHeight }; int angle = Fixed32.toFP( 45 ); int dux = Fixed32.cosd(angle ); int dvx = -Fix...