3d-model

How to prepare a 3D model to embed in an AR App

落花浮王杯 提交于 2019-12-24 20:39:52
问题 I have a newbie-questions regarding a 3D model I want to use in an AR App (with sceneform). The model itself is in .fbx format and I have 5 textures or maps (as .jpg files) for opacity, metal, roughness, base color and normal. Importing the .fbx model works, but I have no idea how to assign the textures to it. According to the documentation (https://developers.google.com/ar/develop/java/sceneform/custom-material), I need a .mat file. And that's my problem, how to create one. Manually or

How can I create a 3D model file from geometric shapes?

牧云@^-^@ 提交于 2019-12-24 13:11:55
问题 I am writing a program that will output 3D model files based on simple geometric shapes (e. g. rectangular prisms & cylinders) with known coordinates in 3-dimensional space. As an example, imagine creating a 3D model of stonehenge. this question suggests that OBJ files are the easiest to generate, but I'm struggling to find a good tutorial or easy-to-use library for doing so. Can anyone either (1) describe step-by-step how to create a simple file OR (2) point me to a tutorial that describes

Android Kudan - Extending ARActivity will stop working system camera torch (Flash light)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 00:15:31
问题 I am working on kudan SDK for building 3D Model Augment Reality Object with Marker, all are perfectly works fine,but when i build Camera torch on same ARActivity will stop working flash light, even it will stop working system flash torch (On/off torch from system widgets) if in case i will extends Activity not ARActivity works perfectly fine. Throw Run-time Exception when extends ARActivity 02-08 10:15:32.631 7592-7592/techno.example.com.agumentation W/System.err: android.hardware.camera2

How to rotate a vector in opengl?

孤街醉人 提交于 2019-12-13 09:08:55
问题 I want to rotate my object,when I use glm::rotate. It can only rotate on X,Y,Z arrows. For example,Model = vec3(5,0,0) if i use Model = glm::rotate(Model,glm::radians(180),glm::vec3(0, 1, 0)); it become vec3(-5,0,0) i want a API,so i can rotate on vec3(0,4,0) 180 degree,so the Model move to vec3(3,0,0) Any API can I use? 回答1: Yes OpenGL uses 4x4 uniform transform matrices internally. But the glRotate API uses 4 parameters instead of 3: glMatrixMode(GL_MODELVIEW); glRotatef(angle,x,y,z); it

Generate 3D model of a building with kinect sensor?

孤街醉人 提交于 2019-12-11 20:17:48
问题 I want to generate a 3D model as I walk alone in a building or in a room with the kinect sensor. I want know is this possible? my idea is to get 3d imaging from interval(like 1 image per 3 meters) and combine them, but how can I do that, how can I match and stitch these models into one 3d model, like in the picture below. this image is taken from here kintinuous 2.0 according to this it is possible. Is there any codes (like C#) I can refer? EDIT: mapping real world object using kinect I found

converting osg format to 3ds or .obj?

对着背影说爱祢 提交于 2019-12-08 03:15:21
问题 I have a 3D model of a car in both osg and ive format , is it possible to convert it to .obj or 3ds format ? I'm using a tool that could only load .3ds and .obj format. the tool is processing.js. 回答1: osg and ive are the native ASCII and binary formats for OpenSceneGraph versions below 3.0 (3.0+ can still read/write osg and ive fine, but they're being phased out in favor of osgt and osgb) - see http://www.openscenegraph.com Grab the OpenSceneGraph binaries: http://openscenegraph.alphapixel

Raw floating point encoding

∥☆過路亽.° 提交于 2019-12-04 15:34:05
问题 Update The original question is no longer the appropriate question for this problem, so I'm going to leave this alone to demonstrate what I tried/learned and for the background. It's clear that this is not just a "Base64 variation" and is a bit more involved. Background: I program in python 3.x mainly for use with the open source program Blender. I'm a novice/amateur level programmer but I understand the big concepts fairly well I've read these articles relevant to my question. Wikipedia on

Which current WebGL library supports most 3D model formats (and which ones)?

扶醉桌前 提交于 2019-12-04 02:33:33
问题 Searched a while but dont know which current WebGL solution supports the most 3d formats. Also I need to know which 3d formats they support. Are there any updated comparisons or tables with these information? Something like copperlicht? An alternative? we want to use the native formats directly so converting them manually always to json is not an option 回答1: Most (if not all?) engines have their own JSON-format and you use offline converters to get your data into the engine format. If you

Raw floating point encoding

删除回忆录丶 提交于 2019-12-03 09:41:08
Update The original question is no longer the appropriate question for this problem, so I'm going to leave this alone to demonstrate what I tried/learned and for the background. It's clear that this is not just a "Base64 variation" and is a bit more involved. Background: I program in python 3.x mainly for use with the open source program Blender. I'm a novice/amateur level programmer but I understand the big concepts fairly well I've read these articles relevant to my question. Wikipedia on Base64 Base64 can get you pwned (pdf) stackoverflow discussion Some others Problem: I have a binary file

Which current WebGL library supports most 3D model formats (and which ones)?

我们两清 提交于 2019-12-01 14:24:27
Searched a while but dont know which current WebGL solution supports the most 3d formats. Also I need to know which 3d formats they support. Are there any updated comparisons or tables with these information? Something like copperlicht? An alternative? we want to use the native formats directly so converting them manually always to json is not an option Most (if not all?) engines have their own JSON-format and you use offline converters to get your data into the engine format. If you like support for many formats I would suggest using J3D as it uses Unity 3D as "converter". Unity can import