Questions tagged [3d-rendering]

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.

78 questions
1
vote
0 answers

How to 3d render nifti file surfaces without GUI interaction in CPU only mode?

my goal is to create 3d surface renderings for a huge stack of mri scans in nifti format. The process needs to be completely automised and run without GUI interaction in CPU only mode as the script is supposed to run in a docker container. Is there…
florian
  • 604
  • 8
  • 31
1
vote
0 answers

How do I rotate a 3D object relative to its orientation using quaternions?

As a learning experience, I'm trying to build a simple 3D game without any libraries. I've managed to figure out rendering (for the most part), and I've gotten 4D matrix transforms to work well enough. I'm having trouble rotating my player object…
1
vote
1 answer

Point cloud sensor position estimation

Let's sat I have point cloud data that I don't know the sensor position(and it is not [0,0,0]). Is there a good way to estimate original sensor position from it? For instance, from the point cloud below, Point cloud data: find viewpoint that allow…
diskhkme
  • 35
  • 4
1
vote
2 answers

LightMap mapping in Three.js baked from 3ds max

I have a photo-realistic scene already created in 3ds max. I want to render the scene on the web using WebGl and three.js. TO get the realistic effects created in 3ds max using mental ray renderer, I tried to bake the light maps from 3ds max to JPEG…
Kaushik
  • 15
  • 1
  • 5
1
vote
0 answers

Procedural texture synthesis in WebGL fragment shader, is it even possible?

I need to render an enormous amount of terrain using WebGL, so I'm going for texture synthesis approach. Now I've been reading tons of articles about texture synthesis, but I didn't find anything really GPU ready. Some use GPU to render into…
1
vote
0 answers

Photorealistic 3D Rendering solution for developers in the Cloud

What are some good alternatives to migenius for Photorealistic 3D Rendering solution for developers in the Cloud ? My focus is on following four components: i) Ease of integration ii) Cost iii) Time to render the 3d model in image iv) Quality of…
1
vote
1 answer

Creating a 3D map with 2D depth images in PROCESSING

I'm creating a 3D map with 2D depth images in Processing. I have captured the images using saveFrame(), however I am having difficulty in converting those saved frames into 3D. Is there any website or code I could look through for help? Any help…
1
vote
2 answers

Render collada [.dae] file in iOS

I need to render 3D model which is of type .dae [collada] in iOS, I have searched and found couple of links Wavefront Molecules openscenegraph iSGL3D but I am not sure whether they will support .dae files. Is there any framework which Collada…
Prasad Devadiga
  • 2,573
  • 20
  • 43
1
vote
1 answer

Scaling unit cube in Java3d Manually

I'm working on something in Java3D and I know TransformGroups are how you would usually apply scaling... However, I am trying to create a way of defining cuboids based on a scaling vector. So I have a unit cube 1,1,1 -> -1,-1,-1 and I want to…
1
vote
1 answer

How to render a 3D model made in 3ds Max on a web page?

I have .obj, .3ds and .ase files from a client, who has created this 3D model using 3ds Max. I need to display this 3D model on a web page. I can use HTML5 as well. How to do it with or without HTML5?
Ashish Chopra
  • 1,413
  • 9
  • 23
1
vote
1 answer

Orthographic 3D Backface Culling using Surface Normals

I'm creating an HTML5 canvas 3D renderer, and I'd say I've gotten pretty far without the help of SO, but I've run into a showstopper of sorts. I'm trying to implement backface culling on a cube with the help of some normals calculations. Also, I've…
0
votes
0 answers

When I try to move the camera forward the object rotates

In my 3D renderer with Matplotlib, when I try to move the camera forward, the object rotates: import matplotlib.pyplot as plt import numpy as np import math import GetPolyData as poly def project_3d_to_2d(x, y, z, d): # Calculate the angle of…
charsarg
  • 61
  • 3
0
votes
0 answers

Calculating the Normalized Device Coordinates from World Coordinates

After researching, I tried to implement a Vector3 object that represents a 3D point. I want to get the Normalized device coordinates, which if I understood correctly, the x, y, z values should fall in range of [-1, 1]. But my current implementation…
Kirk KD
  • 97
  • 9
0
votes
0 answers

Issues Creating a 3D Renderer in JavaScript

I am trying to make my own 3D renderer in JavaScript using raycasting, but despite checking over the math and the code countless times, it still does not seem to be working. I've tried everything I possibly could to get this thing to work and it…
0
votes
0 answers

In Next.js Error [ReferenceError: HTMLCanvasElement is not defined]

import React, { useEffect, useRef } from "react"; import * as THREE from "three"; import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader"; const ThreeJS = () => { const canvasRef = useRef < HTMLCanvasElement > null; useEffect(() =>…