blender

How do I use Blender models in Java?

时光总嘲笑我的痴心妄想 提交于 2019-12-20 10:30:21
问题 Just a general question really? Let's say I am making a game and have made a character model in Blender. How would I use this model in Java? Would I import it somehow? Thanks. 回答1: Generally when making models in blender you export the model in a format which allows you to later import it in the game engine of your choice, which format you use differ in requirements. The export-import cycle is often referred to as the "Asset Pipeline", and you generally want to keep it as simple and automated

Blender vs. Unity [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-20 09:49:43
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I want to make a 3D game, preferably that can be played in browser. Some people say blender, some say unity. What are the pros and

How to rotate a camera around obj wavefront file contents?

≡放荡痞女 提交于 2019-12-20 07:25:08
问题 I have an .obj file. I do not know it’s contents bounding box before hand. I want to load it into blender and rotate camera around it in "K"th frames (e.g. 15 frames). How to do such a thing in blender using python api? 回答1: A common way to do an object turnaround is to add an empty and make it the parent of the camera, animating the z-rotation of the empty will then rotate the camera around the object, you can give the camera a trackto constraint so that the camera always points at the

Import Error for BPY module in python

穿精又带淫゛_ 提交于 2019-12-20 04:53:27
问题 I was trying to write a python script and execute it within blender context. But it reports 'Import Error : No module named "bpy"'. I tried installing another version of blender ( viz. 2.7.6 ) but as it appears there is actually no module named bpy inside "blender-2.76-rc2-win64\2.76\python\lib" , which is the path where python is searching for modules I suppose. I checked out the docs for blender but there is no explicit way of downloading bpy. Any help will be appreciated. 回答1: The bpy

Mesh Collider has walls where holes should be and is deformed

拟墨画扇 提交于 2019-12-20 04:24:37
问题 I need a curve cylinder collider for my curve water pipe model so that my player red cube can pass easily through. I tried mesh collider it doesn't works and also tried another trick where I build 2 models in blender one for mesh render, one for collider. one as a whole one in 9 chunks cause mesh collider was not working on whole one object check pic no:1 and check pic no:5 where after exporting both models to unity I applied mesh collider on all 9 chunks of pipe separately to get perfect

Why do two faces appear invisible in ThreeJs?

房东的猫 提交于 2019-12-20 03:10:18
问题 I've an object in Blender. Because I want to do some UV-unwrapping using ThreeJS (see here) I determined that I need merge two of the sides to correctly unwrap. So before exporting the .blend as a .obj object I selected the Tris to Quads face option to create a square face for the two sides as opposed to it being made up of two triangles. Here's what it looked like in Blender: But when I import the .obj and .mtl file into ThreeJs I get this: Is this a problem to do with me not updating the

apply non-hierarchial transforms to hierarchial skeleton?

老子叫甜甜 提交于 2019-12-20 02:56:27
问题 I use Blender3D, but the answer might not API-exclusive. I have some matrices I need to assign to PoseBones. The resulting pose looks fine when there is no bone hierarchy (parenting) and messed up when there is. I've uploaded an archive with sample blend of the rigged models, text animation importer and a test animation file here: http://www.2shared.com/file/5qUjmnIs/sample_files.html Import the animation by selecting an Armature and running the importer on "sba" file. Do this for both

Generating random terrain in Blender3D

天大地大妈咪最大 提交于 2019-12-20 01:04:11
问题 I tried finding a python script in google that will generate a random terrain when the game starts (or each time a the player advances to a new scene) but all the tools I found are for creating a terrain to render it, not for the game mode. Any idea how/where to find one? (I'm assuming that since Blender3D has game programming capabilities, it is OK for someone to ask in SO) 回答1: Is this link related? http://blenderartists.org/forum/showthread.php?t=77794 To generate terrain (height map) the

Blender 2.7 MacOS console error

末鹿安然 提交于 2019-12-19 10:58:35
问题 I'm using Blender 2.7 on my mac (OS 10.9.2) and the console won't properly open. If I open blender.app/Contents/MacOS/blender, I get a new terminal window, but it's full of a mix of legible and illegible characters such as "œ˙Ì˛Ä&àÖÄH__PAGEZERO__TEXTÃÃ". No print statements or errors will log there from Blender, either. Anyone know what's going on? Thanks! Edit: I'm also new to terminal and was trying to use "open blender" from the /Contents/MacOS directory :P. If you type "./blender" from

Exporting a simple model with texture from Blender to three.js

夙愿已清 提交于 2019-12-18 15:00:32
问题 Note: I want to avoid modifying the model in the javascript code and do all the model design inside Blender. Note #2: While this question is long, it is actually a basic problem (title says it all). The below is "walk-through" to the problem. I am trying export Blender models to threejs.org as DAE model but have problem with models with texture (I have tried JSON and OBJ+MTL format too): To make things simpler, here are the steps I perform (and fail) to add texture to simple "Startup file"