Questions tagged [decal]

39 questions
10
votes
1 answer

three.js - TubeGeometry + DecalGeometry on a segment of the tube

I want to put a decal inside a segment of a tube geometry (in the backface). The way I do is use TubeGeometry as the decal geometry. This is what I have: And this is what I want: (bad drawing) Sample code: //code var tube = new…
Rui d'Orey
  • 982
  • 3
  • 13
  • 31
5
votes
1 answer

Libgdx decal rotation around custom axis

I'm working app that uses Libgdx engine and decals in 3d space. Now I need to rotate decals around X,Y,Z axis, but around custom pivot point that stands somewhere in the 3d space. I found that decals have transformationOffset field, which might work…
Veljko
  • 1,893
  • 6
  • 28
  • 58
5
votes
1 answer

Libgdx rendering floor for 3D game

In my first 3D game i now want to render the floor, which is actually a plane (not a libgdx Plane) on y = 0. I want to add a Texture to it, so i can have different floors in each level. Now my question is: What is the best way to create and render…
Robert P
  • 9,398
  • 10
  • 58
  • 100
4
votes
2 answers

DeCAL and Delphi 2009

Have someone tried out DeCAL in Delphi 2009? I'm thinking about upgrading from 2007, but my code is quite dependent on DeCAL...
Vegar
  • 12,828
  • 16
  • 85
  • 151
4
votes
3 answers

Decal wrap around mesh

I'm working on tattoo simulator program, i need to know if there's a way for the decal (tattoo) to wrap arond the target mesh, like having a tattoo that goes from one side to the other side of lets say leg, or event behind it.
chakmeshma
  • 246
  • 8
  • 27
4
votes
2 answers

How to create a "scorched area" on a 3D terrain?

i'm experimenting a bit with C# and XNA. Going through the advanced "Riemers tutorials" helped me a lot, but i want to make my terrain even better. I have a simple game where player controls a tank and destroys other buildings and tanks. I would…
PeterK
  • 6,287
  • 5
  • 50
  • 86
3
votes
3 answers

Ogre Projector shines through objects

In Ogre, i'm projecting a decal onto a sphere. However, the decal shines straight through the sphere and projects another decal onto the opposite side! How do I stop that? material planets/Planet_Earth { technique { pass { …
Magicaxis
  • 371
  • 7
  • 16
2
votes
0 answers

Is there any way in Unity to make something like decal projector from HDRP in build-in pipeline?

Is there any way in Unity to make something like decal projector from HDRP in build-in pipeline? Tried Easy Decals but they doesn't work, at least 2019 version.
Tertium
  • 6,049
  • 3
  • 30
  • 51
2
votes
3 answers

How to iterate properly over the search results of a DMultiMap (DeCAL) in Delphi?

I am using the DMultiMap container from DeCAL with Delphi 6 to store data. The key is a string which can appears several time in the map. I wonder how to iterate properly over all objects with a given key. Will this code: function…
Name
  • 3,430
  • 4
  • 30
  • 34
2
votes
1 answer

GBUFFER Decal Projection and scaling

I have been working on projecting decals on to anything that the decals bounding box encapsulates. After reading and trying numerous code snippets (usually in HLSL) I have a some what working method in GLSL for projecting the decals. Let me start…
Mike O
  • 149
  • 10
2
votes
0 answers

how to setup Decals in libgdx

I am trying to fake a shadow in 3D space. ShadowDirectionalLight does not suit my purposes, therefore I am gonna run a texture based animation. I was thinking of using Decals for my animations. Can someone provide an example of how to use them?…
potato
  • 4,479
  • 7
  • 42
  • 99
2
votes
1 answer

Rendering decals on 3d meshes

As in question, what are the best techniques for rendering lots (lots!) of decals on multiple meshes (which can move) and on terrain?
chris
  • 664
  • 1
  • 12
  • 23
1
vote
0 answers

How to display DecalGeometry from ThreeJs on Specific Mesh

I have this Mesh: The specific mesh named OCounter and I want to display the Decal on the front of the mesh. I tried this: textureDecal.side = THREE.DoubleSide const euler = new THREE.Euler(0,0,0, "XYZ"); const decalImage = new…
Crapaud
  • 9
  • 1
1
vote
1 answer

The alpha of decals is not completely transparent in Unity

I wanted a quick way of displaying the range of stuff in my game, so I thought: do it with decals around it! Fast and easy! However, the parts of the decals that are transparent do not appear completely transparent during gameplay. They darken or…
1
vote
1 answer

Unity3D - Rotate Decal Particle from ParticleSystem to Match Normal

I am trying to use a ParticleSystem for Decals as a cheap alternative but am unable to align the particles with all normal surfaces. This is the nearest I've got that gets all axis correct except for an inverted x axis. (I can see it's the wrong way…
akaBase
  • 2,178
  • 1
  • 18
  • 31
1
2 3