
mr_pinc
Members-
Posts
70 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
mr_pinc's Achievements
Newbie (1/14)
10
Reputation
-
V!nc3r reacted to a post in a topic: Is there Support for Object Space Normal Maps?
-
hit2501 reacted to a post in a topic: How to port my BJS game to PC (offline)?
-
babylonjs Using Scroll to Control Camera Path
mr_pinc replied to jps0611's topic in Questions & Answers
I would say the easiest way is to create a spline in your 3D editor and add an animation to the camera to follow that spline. When you are happy with the way it looks export it and get it to play in Babylon. The when in your scroll wheel handler you simply set the keyframe on the existing animation using the 'goToFrame()' method. The frame would be the current currentFrame + (totalFrames * speed of movement) . -
hit2501 reacted to a post in a topic: Babylon.js vs Unity - What makes BJS better?
-
Babylon.js vs Unity - What makes BJS better?
mr_pinc replied to hit2501's topic in Questions & Answers
Unity does not really export to the web. Yes you can do an HTML output but it's not really optimized for a typical browser scenario. Babylon allows you to craft an experience with a Web focus. Also I'm not sure but Unity html5 might not work on mobile, while Babylon definitely works on mobile. Unity has advantages though, it has a full featured editor which is easy to use - Babylon has an editor but it's very primitive compared to what you get in Unity. -
In your example you are modifying the texture on the mesh, you should modify it on the material. I'm not sure if the default material has an albedoTexture property, you should look at the docs to make sure but my first statement is still correct, modify the material, not the mesh.
-
Tried that but still no luck. Once I get a couple hours I can really dive in.
-
Herbert reacted to a post in a topic: how can I make this dude stand on the ground after dropping from a height
-
Ok setting the blending mode now does indeed fade the items as before but there still remains the issue initially described. I'll have to really dive into the meshes to see if I can adjust on my own.
-
Not sure if this nails the issue but here you can see a mesh with a PBR and visibility set to 0.25 is fully opaque. https://playground.babylonjs.com/#HBDNNA
-
Best PBR workflow setup for 3DMax to Babylon
mr_pinc replied to dsman's topic in Questions & Answers
We've done a lot of experimenting on PBRs in the last little while. They work great and the linked article explains things well there are a couple of caveats right now. The 3DS max exporter exports ambient occlusion to it's own Map - babylon supports having AO in the R channel of your MetallicRoughnessMap - Substance Painter does this automatically saving you a file to load. There's a currently a bug in the export that if you use GLTF as your export format then camera animations are not added to the camera object - if you export as .babylon file it works fine. Also when loading your PBR material you need to make sure your camera settings are correct in Babylon here are ours: scene.imageProcessingConfiguration.contrast = 1.6; scene.imageProcessingConfiguration.exposure = 0.6; scene.imageProcessingConfiguration.toneMappingEnabled = true; Also to get the most out of your PBRs you need a nice EnvironmentTexture. You can save yourself some pain by setting the 'environmentTexture' property of your Babylon scene object to your texture. This will automatically apply it to all the materials in the scene. I believe the exporter was recently changed to do this automatically but I've yet to test it. -
Well it's kinda good news. It shouldn't be that bright. At 0.5 visibility you should be able to see through it which the screen shot does not show. The attached screenshot demonstrates 0.5 visibility as it should look You can see through the mesh at 0.5 visibility on an alpha build of 3.1
-
Ok I'll review those. Also interesting is that after upgrading to the latest beta, setting the opacity to 0.5 makes the whole material ultra - bright - while setting it to 0.99 like the previous examples does not yield the same depth sorting problems. Visibility set to 0.5 in the latest preview release (v3.1-beta-5)
-
When I animate the visibility property on a handful of meshes there appears to be a weird rendering error. As seen in the attached screenshots. When visibility is set to 1.0 everything renders fine. When set to 0.99 the z-ordering appears to get messed up. Any guidance on how to resolve this would be helpul.. Visibility set to 1.0 Visibility set to 0.99
-
If you try to animate a mesh in Max and export it, then any keyframes that have the easing changed from the default value will produce a continuous drift in whatever property is being animated until it hits the next key frame. You can see what I'm talking about in the attached files. The max file has 2 boxes, both animating position. One with custom easing the other with default, you can see the custom easing one drifts a little before it's animation should start playing. Here's a description of the scene from my artist: babylon_anim_box_test.max box.babylon
-
Node based material editor Node based logic editor (ala UE4 blueprints) A boy can dream can't he