Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 3-Aug-2015 12:24:23

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

behind transparent polygons can not see the rear part of the same mesh

fd1e15b12fd2.jpg
// smokefxmat genrated by blender2ogre 0.6.0

material smokefxmat
{
receive_shadows on

technique
{
pass smokefxmat
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage off
colour_write on
cull_hardware clockwise
depth_check on
depth_func less_equal
depth_write on
illumination_stage
light_clip_planes off
light_scissor off
lighting on
normalise_normals off
polygon_mode solid
scene_blend alpha_blend
scene_blend_op add
shading gouraud
transparent_sorting force

texture_unit
{
texture AndroidGame/smoke000.png
tex_address_mode wrap
scale 1.0 1.0
colour_op modulate
}
}
}
}

with   alpha_rejection greater_equal 128 it looks rough and with illuminated outline texture

like this
a8493e4c8d55.jpg


exported with modified by me(transparent_sorting force at default) blender2ogre

Last edited by el_motoblock (3-Aug-2015 12:37:09)


3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

#2 3-Aug-2015 19:06:24

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,402
Website

Re: behind transparent polygons can not see the rear part of the same mesh

hmm try

material smokefxmat
{
receive_shadows on

technique
{
pass smokefxmat
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage off
cull_hardware none
depth_check on
depth_write off
scene_blend alpha_blend
scene_blend_op add
transparent_sorting force

texture_unit
{
texture AndroidGame/smoke000.png
tex_address_mode wrap
scale 1.0 1.0
colour_op modulate
}
}
}
}

Offline

#3 3-Aug-2015 19:22:19

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

Re: behind transparent polygons can not see the rear part of the same mesh

thanks is correct show alpha


3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

#4 1-May-2016 13:29:39

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

Re: behind transparent polygons can not see the rear part of the same mesh

98e74a9563b7.jpg
and how can we do?
here made of two models-planes, shines through the. (at smoke effect it seems good) and how can we do?

// t6matTTTTTTT234 genrated by blender2ogre 0.6.0

material t6matTTTTTTT234
{
receive_shadows on

technique
{
pass t6matTTTTTTT234
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage off
cull_hardware none
depth_check on
depth_write off
scene_blend alpha_blend
scene_blend_op add
transparent_sorting force

texture_unit
{
texture AndroidGame/tree06.png
tex_address_mode wrap
scale 1.0 1.0
colour_op alpha_blend
}
}
}
}

Last edited by el_motoblock (1-May-2016 13:31:41)


3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

#5 1-May-2016 15:08:44

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

Re: behind transparent polygons can not see the rear part of the same mesh

make good but not ideal
(do not really like alpha_rejection - smooth not enough)

 // t6matTTTTTTT234 genrated by blender2ogre 0.6.0

material t6matTTTTTTT234
{
receive_shadows on

technique
{
pass t6matTTTTTTT234
{
ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
diffuse 0.800000011920929 0.800000011920929 0.800000011920929 1.0
specular 0.0 0.0 0.0 1.0 12.5
emissive 0.0 0.0 0.0 1.0

alpha_to_coverage on
//cull_hardware none
//depth_check off
//depth_write off
scene_blend alpha_blend
transparent_sorting force
light_scissor on
alpha_rejection greater_equal 128

texture_unit
{
texture AndroidGame/tree06.png
tex_address_mode wrap
scale 1.0 1.0
colour_op alpha_blend
}
}
}
}

3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

#6 1-May-2016 15:15:39

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

Re: behind transparent polygons can not see the rear part of the same mesh

89da1375e1df.jpg
I also made the texture of low quality made.


3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

#7 1-May-2016 15:16:37

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 4,402
Website

Re: behind transparent polygons can not see the rear part of the same mesh

I don't understand the question

Offline

#8 1-May-2016 16:31:47

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 267

Re: behind transparent polygons can not see the rear part of the same mesh

ok, I've already decided


3d design as a hobby
blender, 3ds max, GTA San Andreas Modmaker, YTP Maker

Offline

Board footer

Powered by FluxBB