3d

Change texture on 3D object and export 2D image

I would like to generate 2D images of 3D books with custom covers on demand. Ideally, I'd like to import a 3D model of a book (created by an artist), change the cover texture to the custom one, and export a bitmap image (jpeg, png, etc...). I'm fairly ignorant about 3D graphics, so I'm not sure if that's possible or feasible, but it des...

What is the best language for a game?

Hi, I'm sorry if this is a dumb question, but what, in your opinion, is the best language to write a 2d puzzler in, and the best language for a 3d puzzler. Even the best language for both if you think there is one! Thanks. The platform would be Windows desktop application By best, I think easiest, fastest, most effective, and I suppose...

How to blur 3d object? (Papervision 3d)

How to blur 3d object? (Papervision 3d) And save created new object as new 3d model? (can help in sky/clouds generation) Like in 2d picture I've turn rectangel intu some blury structure ...

Seg fault vector<vector<list<Object*> > > push_back

I have a 3D vector defined like this... std::vector<std::vector<std::list<Object*> > > m_objectTiles; I have this code... void ObjectManager::AddObject( Object *object ) { m_objects.push_back( object ); m_objectTypes.insert( std::make_pair( ObjectAttorney::GetType( object ), object )); int x = ObjectAttorney::GetTileX( ob...

Perspective projection - how do I project points which are behind 'camera'?

Hi everyone, I'm writing my own software rasterizer in Java, and I ran into some trouble with it... take a look at a sample image, please: Image This sample just draw simple square grid on a plane. Everything works fine until I move camera close enough for some points to move behind it. After that, they're no longer projected correctl...

Moving some points in z-axis in OpenGL doesnt work

I have a simple rectangle i have drawn on screen in opengl. My target is to draw this rectangle in 3D so the left side of it is deeper (z-axis) than the right side. Look at this pic so you can see what i mean: http://www.battleteam.net/tech/fis/docs/images/metroid_hud1.png This is the code i use to draw a rectangle which uses differen...

Going fullscreen in an itunes like application (cocoa OSX)

I have a cocoa application that has a finder like feel it and is made up of five views. On the left there is a gallery which is a finder like interface to choose a given object. This view stretches across the whole height of the window. Then on the right I have a window for a 3D simulation view and then below it I have three editing v...

Quickest Way to create Face and Edge objects in Sketchup

I have to render a mesh of a few thousand polygons in Google Sketchup. I find that add_face tends to get slower as the number of faces in the model increases. I believe this to be due to some edge detection algorithm that Sketchup is running behind the scenes. Hopefully, there should be some way to suppress this edge detection or other p...

Understanding 3D space

Hey Guys, I'm confusing myself terribly grasping the concept of plotting on a 3D plane, if I'm looking down the -Z axis, to put an objectinfront of me I just make the Z value Negative and to put it behind I just make it positive.. but.. how do I Put objects to my left or right? Sorry, I realise this is a stupid question but none the les...

Writing my own 3D Game Engine

I want to write a simple 3d game engine for apply. I have bought some vital Books like : Ultimate 3D game programming by sherrod Advanced 3D Game Programming with DirectX 10.0 Real-Time Rendering, Third Edition 3D Game Engine Design, Second Edition: A Practical Approach to Real-Time Computer Graphics COMPLETE-Effect-HLSL-Guide ShaderX ...

3D Graphing Package For C# Winforms?

I'm using ZedGraph for my 2D graphing needs, but for a project, I need something that does 3d graphing. What is the best package I can use for this? I'd like the Graph Panes to be as easy to manipulate as with ZedGraph. Edit: By 3D, I mean I want to be able to specify an x,y,z to get a surface. Thanks! ...

OutOfMemory Exception when drawing cube

hi, i have a class that draws and rotates a cube. every time i rotate the cube i reload the buffer with the new values for the cube. public void LoadBuffer(GraphicsDevice graphicsDevice) { buffer = new VertexBuffer(graphicsDevice, VertexPositionNormalTexture.VertexDeclaration, triangles * 3, BufferUsage.None); bu...

Using HTML5 canvas with the z axis? And how to move the canvas eye view? {Please Help me I have a deadline that ends very soon}

Hey all how do you use the z axis when drawing and moving a model? I have the following: canvas = (function () { canvas = { canvas: $("canvas"), models: [{ start: [10, 10, 10], end: [1, 10, 10], color: "silver", }, { start: [30, 30, 30], end...

how to pick up mouse in 3d world.

Hi, everyone, i have some questions about how to pick up mouse in 3d world. Now i have several points in 3d world,by using these points i can draw curve i want to choose a point on this curve using mouse, the viewport of the 3d world can be changed, so i want to know at any viewport when i chick mouse button near the curve, which po...

3D line segment box intersection

Looking for code to detect an intersection between a 3D segment (not a line/ray) and a 3D box (not necessarily a cube, but always axis-aligned). The boxes are voxels so they have regular spacing. Already have the code to find a segment/plane intersection. Ideally, I'd like to find an efficient solution to adapt this for a rectangle, rep...

3D scatterplots in .net

Hi I was wondering if there were any free libraries for .net for producing a 3D scatterplot, I haven't been able to find any using google. ...

Android OpenGL extending GLSurfaceView null pointer exceptions

I am trying to create a simple 3-D app for android that will have an additional view layered on top of the OpenGL view (much like the SurfaceViewOverlay example in the API demos). I'm running into an issue trying to implement that method with an extended GLSurfaceView class. I've set up an example where I'm trying to do a combination of ...

Managing depth in actinscript3

I have a 3D field with many MovieClips in it, and seems like the one last added is the one that overlaps others and not the one with highest z value. Is there any property/function that sets z-index? (sorting children by z value seems too much like a hack). A 3D engine that can place MovieClips will be helpful(but not one that requires ...

WPF animation problem when using Storyboard from code

I'm working on a 3D carousel of flat, square tiles that will contain information. I'm working on animating this carousel to rotate when a person presses Next and Previous buttons. I've gotten it to work by using BeginAnimation on the Rotation property of the RotateTransform3D I applied to the carousel, but I can't seem to make a Storyb...

draw smooth surface from 3D points via vtk

Hello every body. I have a set/cloud of 3D points of human face and want to draw a smoother surface using vtk. I have tried Delaunay triangulation but the result is not good. Thanks. ...