WebGL Framework
I'm planning to write a 3D FPS game, based on WebGL. Should I use some WebGL framework? What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some Materials system? Thanks. ...
I'm planning to write a 3D FPS game, based on WebGL. Should I use some WebGL framework? What is the most active and popular WebGL library today? Does it support LOD, Heightmaps, COLLADA and some Materials system? Thanks. ...
I want to display a rotating 3D image. Are there any tutorials on how to do this? What tools can be used to create the 3D image? ...
In Panda3D, I have the following code self.manager = FilterManager(base.win, base.cam) self.sceneTex = Texture("scene") self.depthTex = Texture("depth") self.quad = self.manager.renderSceneInto(colortex=self.sceneTex, depthtex = self.depthTex) ... When I run the above and enable view buffers (show-buffers #t), the "sceneTex" te...
I need some pointers for writing a polynomial regression routine for 3-dimensional points (i.e. find the coefficients of an X order polynomial that is fitted to a certain number of 3D points). I've found code for 2D polynomial regression, however, I need to account for a 3rd dimension. I'm looking for code examples and/or explanations....
I have coordinates for 4 vectors defining a quad and another one for it's normal. I am trying to get the rotation of the quad. I get good results for rotation on X and Y just using the normal, but I got stuck getting the Z, since I've used just 1 vector. Here's my basic test using Processing and toxiclibs(Vec3D and heading methods): im...
This is a pretty beginner question, but given that I render a complex shape in OpenGL which requires a lot of calculations, is there anyway to export that to a state like a model that can be opened again later given you wont edit it again? I can't create them outside the program (with something like Blender) since the shape is computed ...
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...
I'm new to C++ and getting a bit frustrated with it. Below, in pixelsVector, I am storing each pixel RGB float-value in Pixel and want to dump all the values to a byte array with pixelsArray so I can output to an image file. HEIGHT and WIDTH refer to the image dimensions. The code below works fine, but I need to specify the sizes of ...
Hi, I'm working on an application that will run on different size screens, and I have to generate a texture (like parchment paper) that will fill out over all available space of the screen. A very simple approach is to include a small bitmap (256 x 256?) of a texture sample, and repeat it over all available area, but that will end up l...
I'm building a quick 3D engine for a game I'm developing. Currently I'm handling rotation of 3D objects by rotating around the global axis Y, X then Z. Is this the correct way to do it, or should I be rotating objects about its local axis? Which do you recommend and why? If the local axis method is the correct way, would a 3D 3x3 or 4...
I am trying to find an OBJ file example for a 3D grid - the kind that shows the x, y and z-axis. ...
So I am writing a little mini pseudo 3d engine for the canvas element in html5. In the code below I am drawing a bunch of squares with varying positions and rotations (rotation around the z axis, so no deformation) Now I want to be able to tell which square the user clicks on. In the objects array the items are supported by the z posi...
Does a 3D vector differ from a 3D point tuple (x,y,z) in the context of 3D game mathematics? If they are different, then how do I calculate a vector given a 3d point? ...
I've been searching for a way to have a JavaScript animation (preferably using jQuery) behave like a rotating 3D cube, similar to this script: http://keith-wood.name/imageCube.html What stops me from settling with Keith's solution is the possibility for a more smoother and better transition between the images. Is it possible to make a ...
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...
This might not be completely relevant to stackoverflow but I have no better site where to post this. We have gotten a request to develop something that can get a real human into a 3d application including textures. Now I have no idea how to handle this as we have no previous experience. So is this possible and if it's possible what kin...
Problem: I have to plot a simple 3D graph/diagram with x,y,z coordinates given for some points. My goal is to export this 3D diagramm to svg -> I will have to make a projection as svg is not (yet) able to handle 3D. So my input is a 3D diagramm with x,y,z coordinates and the output is a 2D view reduced to x,y coordinates. Does anyone ...
Hi Guys, Is there a relatively easy was to include a 3D animation into an iPhone app? We have the animations already made up for another project and our client has asked if they can be placed inside an iPhone app. We could perhaps include a low-res looping video of the animation (it's just a 3D component rotating on a single axis), or w...
Hi I am iphone developer, I already know iphone programming. I wrote couple of GPS based apps. Now I want to start learning 3D graphcis and game development. I want to make very simple games. ALso I want to learn how to make a solid object in Iphone. Any suggestions where to start from ? ANy books etc ? ...
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. ...