3d

can google o3d and jQuery be used in the same page?

I would like to use both of these library on the same page but they seem to conflict when they are loaded at the same time. Does anyone know of any examples where they are both used or what might help prevent conflicts? ...

Iphone 3GS 3D performance after upgrade to OS 3.1.3

At my company we noticed a significantly worse performance of our game running on a 3GS with OS 3.0 compared to another with OS 3.1.3. To verify I upgraded the second 3GS to OS 3.1.3 as well and now it also runs slow. Did anyone experience anything similar? ...

OpenGL: Textured Primitives + High Framerate

Short version: What's the best practice going forward for efficiently rendering large numbers of independent texture-mapped, lighted 2D/3D primitives (circles, rects, etc.) in OpenGL? For example: a typical particle system using billboarded quads/triangles, point sprites, or whatever other technique, with blending. Because after read...

Anaglyph 3D rendering with JMonkeyEngine

How to do an Anaglyph 3D rendering with JMonkeyEngine ? I tested the StereoRenderPass class : http://www.jmonkeyengine.com/forum/index.php?topic=7168.30 but it makes error when compiling. ...

Program or plugin for getting from 3D models list of pictures for web publishing

Hi! I want to have list of pictures from 3D models, which display the model from all sides. For example, it may be 3D Max model or another, but not Google Sketchup model. Such plugin exists for Google Sketchup. I am interested in plugins for other 3D editors and 3D model formats. Thanks for answer! ...

What suggestions for a 3d game engine to support a huge terrain?

There are a lot of 3d game engines around, does anyone with experience with them have advice on which one would likely be able to handle these (arbitrary) requirements? opengl mac/pc 1000x1000km terrain 1000 towns varying in size from 10 to 1000 buildings 128 people in any one location MMO type networking (no solo play) physics engine ...

Hidden line removal in JavaScript or Python?

I have the following task: Input: A 3D scene comprised of a set of cuboids. Could be broken down to a set of triangles. A description of a camera: position, direction, focal length. Output: 2D wire frame projection of the scene as a set of lines. Important: Hidden lines removal should have been applied. Platform: Web app running on G...

Prims vs Polys: what are the pros and cons of each?

I've noticed that most 3d gaming/rendering environments represent solids as a mesh of (usually triangular) 3d polygons. However some examples, such as Second Life, or PovRay use solids built from a set of 3d primitives (cube, sphere, cone, torus etc) on which various operations can be performed to create more complex shapes. So my quest...

OpenGL true coordinates and glutTimerFunc() problem C++

HI I am starting to learn openGl for C++.but at stating point I stucked. I have 2 question that is the coordinates for drawing some objects? I mean where is X, Y and Z? Second one I am making tutorial from some sites. and I am trying to animate my triangle.In tutorial it works but on my computer not.I Also downloaded source codes b...

Interpolating height for a point inside a grid based on a discrete height function.

Hi, I have been wracking my brain to come up with a solution to this problem. I have a lookup table that returns height values for various points (x,z) on the grid. For instance I can calculate the height at A, B, C and D in Figure 1. However, I am looking for a way to interpolate the height at P (which has a known (x,z)). The lookup...

What is the simplest algorithm for mesh generation of an arbitrary quadrilateral?

What is the simplest algorithm for decomposing a quadrilateral into an arbitrary number of triangles? ...

Howto project a planar polygon on a plane in 3d-space

I want to project my Polygon along a vector to a plane in 3d Space. I would preferably use a single transformation matrix to do this, but I don't know how to build a matrix of this kind. Given the plane's parameters (ax+by+cz+d), the world coordinates of my Polygon. As stated in the the headline, all vertices of my polygon lie in an...

Can i use jmonkeyengine on android?

Hi, i', trying to make a simple 3d game for android, and i want to use jmonkeyengine, Can i do this? How can i do it? Someboy can show me an example? thanks!!! ...

3D charting in Flex (surface)

Do you have any recommendation for a free 3D charting library in Flex. To be more precise, I only need to draw surface (for now). Basically, I just need a chart that displays three axes (one should be timeline, and two should be linear axises) and the surface. From what I have seen so far, two most popular free Flesh 3D libraries are Pa...

translation/rotation of a HUD against a camera using vectors in Euclidian 3D space

i've got 2 points in 3D space: the camera position and the camera lookAt. the camera movement is restricted akin to typical first person shooter games. you can move the cam freely, tilt horizontally and up to 90 degrees vertically, but not roll. so now i want to draw a HUD to the screen, on which i can move the mouse freely, with the p...

make a 3D spotlight cone matrix

How to create the transformation matrix (4x4) that transforms a cylinder (of height 1 and diameter 1) into a cone that represents my spotlight (position, direction and cutoff angle) ? --edit-- In other words: how to draw the cone that represents my spotlight by drawing a cylinder through a suitable transformation matrix. --edit2-- The ...

3D World to Local transformation

Hello. I am having a real headache trying to set a node's local position to match a given world position. I was given a solution but, AFAICS, it only takes into account orientation and position but NOT scaling : node_new_local_position = node_parent.derivedOrientation().Inverse() * ( world_position_to_match - node_parent.derivedPositio...

Managing the layout of a Java MainFrame of Canvas3d

Hi, Im trying to organise the layout of four canvas3d objects in a single MainFrame. Iv tried using some layout managers but none are working (or im doing it wrong). Can anyone give me advice or point me to a way to get this to display the four canvas's as a grid of four? Thanks, John public class Main { public static void Ma...

Arc text in iphone application

Hi all I want to bend the text that of UILabel from corner. It just like appear as arc or as following link. http://picasaweb.google.com/lh/photo/kfBzK4R4IlvyHfVywUNd1A?feat=directlink please suggest me, from where i start. any documentation,link, sample code. thanks amit battan ...

Are OpenAL and OpenML comparable?

Hi geeks, I'm wondering if there is any common feature between OpenAL library and OpenML. As many of you may know, OpenAL is designed to be a portable 3d Audio library that is aimed at game development. But what about OpenML, Is it an alternative to OpenAL, or it just can handle media formats (audio, video, ...), and can't do 3d audio st...