Anything related to the process of building a realistic graphic representation of a (possibly virtual and/or dynamic) 3-d object using 2-d images.
Questions tagged [3d-rendering]
78 questions
0
votes
0 answers
Wrong normal for triangles
I am making a 3D game using SFML. I want to use normals to check if the triangle need to be draw in a terrain (triangle) mesh.Here is my code:
vec3d line1, line2, normal;
line1.x = terrain.tris[i].p[0].x - terrain.tris[i].p[1].x;
line1.y =…

Eddie38
- 31
- 6
0
votes
1 answer
How to take a screenshot of a GLTF 3D model server side (Python or NodeJS)
How can I take a screenshot of a GLTF model in python?
The idea is to load and position a 3D model and save the screenshot as an image. I want to run this on a server, where I will host the models. I found some javascript frontend solutions, but I…

Tom
- 326
- 2
- 17
0
votes
0 answers
Texturing a geometry using WebGL shader
I'm new to texturing and shading in WebGL. The problem is I want to color a sphere with a gradient color but when I use gl_FragColor = vec4(vUv, 0.0, 1.); There is a line on the surface
.
After that, I use the position from the vertex shader…

tannguyen1905
- 21
- 3
0
votes
1 answer
Importing Babylonjs gives error: Babylonjs does not provide an export named 'Engine'
I am trying to make a single page website for which I need a 3d rendering engine. But I keep getting the error:
The requested module '/Babylon.js-master/dist/babylon.js' does not provide an export named 'Engine'
HTML

Vipul Rajan
- 494
- 1
- 5
- 16
0
votes
1 answer
The character is rendered differently between Unity and Blender
I have a fbx character. When I import it in Unity, I have this result
While, when I import the same file in Blender, I have this result.
In the second image the are a many polygons and I don't understand why, since the file is the same of Unity.…

SZS
- 43
- 6
0
votes
0 answers
Hot to partially render a voxel object?
I do have 3D array[250][150][250] which represents human body (basically it is a voxel object). Each element contain values from 0 to 255, where 255 means that an elements is empty and should be ignored and 0-254 represent different organs (like…

Elnur
- 119
- 1
- 5
0
votes
0 answers
Problems with custom 3d renderer in java
So I have recently started on my own 3D renderer in Java. I have made a cube and a camera that can be moved with WASD and mouse. I have just one problem:
When the camera looks away or a point of the cube ends up on the corner of the display the…

Filip
- 68
- 6
0
votes
1 answer
Loading models and their materials in Assimp robustly with OpenGL?
I realised that models can be loaded in many different ways. Some might have no textures and just use vertex colours, while others have materials with textures. Now, I have one shader that is used to draw 3d models with lighting but how would I go…

Samuel Innocent-Primus Mungy
- 127
- 1
- 2
- 8
0
votes
1 answer
Two Textures on one Object Three js
My goal is to render two different textures on one object.
I'm trying to render the earth with a night texture and a day texture, similar to this: http://stuffin.space .
The problem is that I'd still like to use the Three.js classes, so that I can…

Mattia
- 179
- 15
0
votes
1 answer
What are the pros and cons of using a heightmap vs a model in 3D games
I am learning how to program an OpenGL game engine in Java. I've done loading models from files already but next up is heightmaps and I'm wondering what are the benefits of using a heightmap to generate 3D terrain as opposed to a list of Z-axis…

Althaen
- 47
- 10
0
votes
1 answer
In which software this 3D volume has been visualized?
I read a paper and saw a very nice visualization of their 3D volume segmentation.
This is the 3D visualization in the paper
Do you have any idea that what software they have used for 3d-reconstruction of the volume?
I have done the segmentation and…

user630317
- 31
- 8
0
votes
0 answers
OpenGL Camera Orientation
I'm having trouble orienting the camera the way I want. I got that I need to use gluLookAt to set the camera. As far as I understood the first three is for the location of the camera, the second set is for destination and the third set is for the…

hebele
- 75
- 9
0
votes
1 answer
Rendering with proper reflections and shadows (photorealistic) using WebGL and three.js
I've been trying to render a scene which was already created using 3ds max. I've exported all the objects as obj files and used three.js libraries to render the scene on the browser. For reflections I tried using Cubecamera method but it's not…

Kaushik
- 15
- 1
- 5
0
votes
0 answers
Unity+ARToolKit: rendering error in windows application
I use the Unity 5.6.0f3 (Personal Edition) + ARToolkit (v5.3.2) under Windows 10 Home SL. I choose the PC,Mac,Linux option from build settings. I load the default example scene from ARToolkit package (Examples->Scenes->FisticuffsScene) and launch…

Kaigo
- 1
- 1
0
votes
1 answer
Maxwell Render 4.x – Error writing MXI file after rendering
A customer is using maxwell render (manager, monitor and node) on a windows 7 64bit machine.
When the scene has finished rendering the following error messages comes up:
-node
QObject::connect: No such signal QApplication::messageReceived( const…