• Content count

  • Joined

  • Last visited

  1. Is there anyway to fade the albedoTexture of a PBR material, so that I can animate this material to a plain colour? I notice there is an ambientTextureStrength property. but no albedoTextureStrength property. Cheers
  2. I need to preload some skybox maps in order to create a CubeTexture, since there are six maps loaded, how do I then regroup these separate images back as a single reference? Cheers If anyone has the same issue - just call addCubeTextureTask on Assetsmanger
  3. Dimensions

    So I've managed to get some data by using the following code sphere.getBoundingInfo().boundingBox.maximumWorld This is on a Babylon sphere. The maximumWorld property is returning the x,y,z values but not sure what the units are at this point. Hopefully this will help any other noobs with the same issue. If anyone knows a better method please post it here
  4. Dimensions

    Hi All, How should I go about obtaining the size of mesh in pixels? Is this even possible ? I assume there is away to obtain measurements for the bounding box or something..? Cheers
  5. Two sided materials

    Hi, Is there anyway to allow double side materials or mesh? I have a plane with a texture on. At the moment when the camera dips under the plane the texture isn't showing. When the camera is on top, it's showing fine. Thanks
  6. Arc Rotate Camera Animation (Solved)

    Got it, Thanks !
  7. Arc Rotate Camera Animation (Solved)

    Thanks very much Deltakosh. Would I need three separate animation to handle the float change for each value ie : one for alpha another for beta and another for radius etc? And if so, would these automatically run at the same time, despite being 3 separate lines of code?
  8. I have a large model with various points of interest. I'd to use an arc rotate camera so that users can freely rotate around the model. The other part involves users clicking on a certain model area, which will then animate the camera to a pre determined position and distance from the selected point of interest. Can anyone give me a clue as to the best animation type to use float/vector 3 interpolarion etc and how I might go about this. There will be three values which need to be "tweened" ie - alpha, beta and radius. As always thanks in advance
  9. Picking Hidden Objects

    Great, thanks. I'll try it out !
  10. Picking Hidden Objects

    Is it possible to pick hidden objects in a scene? If so, how is this achieved? Thanks in advance
  11. Alpha Blending

    Ah apologies !
  12. Alpha Blending

    Hi Everyone I'm trying to build a material which has a gradient of transparency. At the moment it seems to be binary either on or off. Is there a way to enable blended alpha? At the moment, I'm passing a png file to the diffuse texture and using ...someMaterial.diffuseTexture.hasAlpha = true; Hope this makes sense.. Edit: Ok just found opacityTexture. Thanks if you read this anyway
  13. Animated texture quesion

    Thanks JohnK looking at this now
  14. Animated texture quesion

    Ok doke. Well I'm guessing I could use either a png sequence and somehow pass in each image (maybe using the render loop). Or use a sprite sheet and animate the offset to show the correct image
  15. Animated texture quesion

    I have rendered a gif, but is it supported in babylon? I'll try plugging this into the diffuse map. Thanks Nasim