3d

OpenGL glTexParameter

Hey guys I just had a simple question. Does glTexParamter act on all textures or just the texture that is currently bound So like if I call this at the texture load: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); And this on another texture load: glTexParame...

True 3D web font type

Hi friends, I'm developing a 3D website (I mean you navigate the web with 3d glasses) and I'm getting frustrated with the texts. Text headers should be in 3D too, but I can't find any 3d font type. One solution could be overload the designer and create this texts as images, but it would be very expensive and bring internationalization...

Has a Cloth Simulation ever been done in WPF or Silverlight?

I'm trying to find out if any sample Cloth simulation exists with code in WPF or Silverlight. So far this is what I've found: It's been done in DirectX and then used as an ImageBrush in WPF, but I mean without a DirectX and without a C++ dependency. It's been done in Flash and even Javascript so it's definitely possible performance wi...

Need some advice on a java api to use for a 'presentation display board'

As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so incoming call stats etc etc) and flicks between various 'plug-ins'. I asked before, and WPF was suggested, and it looks excellent.. Howev...

Whatever Happened to VRML?

Back in the late 1990s, when I was at grad school VRML was going to take over the world. My peers and I built all manner of useful and interesting things with it by hooking it up to Java and Javascript code. Of course back then computers were many times slower than they are now - multicore CPUs were largely the stuff of science fiction ...

Projecting a 3D point to 2D screen space using a perspective camera matrix

Hi everyone, I am attempting to project a series of 3D points onto the screen using a perspective camera matrix. I do not have world space (or consider it being an identity matrix) and my camera does not have camera space (or consider it an identity matrix), I do have a 4x4 matrix for my object space. I am taking the object matrix and ...

OpenGL repeating texture causes anomalies when rotated

I have a texture being drawn to a quad. The texture is the repeating pattern in the top-left corner of this screenshot: http://img828.imageshack.us/img828/3305/blahpv.png The opengl texture is only 3px by 9px and the texture coordinates I'm passing are very large numbers and it loops over the 3x9 texture by using GL_REPEAT. Any explanati...

If a world matrix and camera matrix are both identity matrices, can they be ommited?

This is a basic question about the need for world and camera space matrices when each are identity matrices. Can they be ommited when calculating a 2D projection? I'm pretty sure that they can, although I seem to be getting strange results when I try to project some 3D points whilst ommiting them, I ask since this might be directly linke...

C++ - 3d geometry question

Hello! Right my own 3d engine (which I'm currently developing) has a very limited abilities in terms of geometry rendering and I want to expand it. What I'm interested in is how-it-should be done in terms of storing the geometrical objects and drawing them. For now my abstraction only supports rendering geometry as generic lists of t...

How to get camera position from such data generated by LSD lines detector?

So for example I have such lines with coordinates. how (using what algorithm) is it possible to generate some kind of simple 3d scene meaning get relative distance from camera to the wall that is facing us? ...

What is the best way to rotate cube in Opengl

Hi all, after reading stackoverflow questions on the topic, I am not able to find a solution. I have a Rubik's cube displayed using OpenGl in a Java Eclipse application and I want to "rotate" this cube in response to mouse events. I started with a "naive" (isn't it ?) solution as described here: http://stackoverflow.com/questions/14264...

Where can I find a C++ 3D modeling library which can open common 3D file formats?

Hello! Does someone know any C++ library / interface to handle 3d-model data in common formats (.obj, .3ds, .ply, ...)? There are some libraries that I can find, like lib3ds or libobj, but if I want to handle different object formats, I would really need to get used to API of them all and write a bunch of my own wrappers so that my co...

Finding points on a bezier curve based on distance from another point.

So I have a 3D cubic bezier curve and a start point found anywhere along the curve and need to find a second point further down the curve that is a specific worldspace distance (not arclength distance) away from the first point. Another issue would be if the second point reached the end of the curve and still wasn't at the desired world...

How to export indices data from collada to as3 drawtriangles method

In Blender 2.5, I UV mapped the default cube and exported it as a collada file and saved it here: http://codepaste.net/4ffqhw I am trying to export the vertictes and indices information for the cube but I cannot figure out which of the data structures contains the indices values. The ultimate goal it to get this data to provide it to t...

"sphere in a bag" plane to sphere projection

Hi! I'm looking for the mathematical transformation to transform points on a 2D plane [0,1]x[0,1] onto the unitsphere. The most common projection would latitude-longitude mapping by interpreting u and v as the angles for the spherical coordinates (map u to [0,2PI] and v to [-PI/2, PI/2]) This gives strong distortions on the poles of t...

3D perspective text on a webpage

How can I achieve 3D text transformations in perspective using Javascript/CSS. Solutions using external libraries of Javascript/CSS are also possible ...

Hadoop and 3d Rendering of images

Hi, I have to make a project Distributed rendering of a 3d image. I can use standard algorithms. The aim is to learn hadoop and not image processing. So can any one suggest what language should I use c++ or java and some standard implementation of a 3d renderer. Any other help would be highly useful .. ...

direct access to pixel data in wpf 3d

Is there a lockbits equivalent of 2d in 3d in Windows Presentation Foundation to get direct pixel access ? I understand you can paint a triangle at a time: 3d for the threst of us. Wouldn't it be easier to paint in cubes instead of triangles ? (I need to paint a stack of images such as an mri sequence). ...

how to implement 3D Tag Cloud on iPhone, similar as FLASH web pages

a reference demo is here: http://www.roytanck.com/2008/03/06/wordpress-plugin-wp-cumulus-flash-based-tag-cloud/ could anyone share some hints? And are there any static lib to use? thanks! marcos ...

PV3D DAE Import - Random normals flipped, random scale??

I am developing a PV3D application that imports DAE models exported by Blender's Collada Exporter plugin (1.4). When I build them in Blender, I use exact dimensions (the end-game is to have scale models in PV3D). Using the same scale of dimensions, some models appear in PV3D extremely tiny, while others are the appropriate size. Many ap...