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 19-Aug-2015 16:29:22

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

Not drawn 3D models. Only skys, sounds & collision works.(on android)

Hello!
Not shows 3d models. Feels you are walking on objects  but they are invisible. This problem only on Android - on os3d are normal works
ac687432030e.jpg
https://yadi.sk/d/1PV5O4bDiPegA all project +apk
this is due to the fact that I put the interior of the underground bunker
floor interior blinking(opengl), the reason - a large wide model, lowpoly.polygon stretched far away

Last edited by el_motoblock (19-Aug-2015 16:43:17)

Offline

#2 20-Aug-2015 13:24:58

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,541
Website

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

el_motoblock you should post this as bug on redmine

Offline

#3 20-Aug-2015 15:35:06

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

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

Offline

#4 21-Aug-2015 22:33:27

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

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

default generated shader precision is "mediump" for floats and int.
some devices do not manage the high precision well hmm

so you always need to check the camera clip distances to avoid clipping for example.
I didn't had the time to test your scene yet, but I wiil in the next days.

Maybe this is also a limitation of the graphic card on the device, check if your model or subentity (materials applied on model) exceed 65535 vertices.

Offline

#5 22-Aug-2015 16:13:09

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

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

I tested on a number of of polygons and removed the largest by quantity of polygon object - nothing changed as a result.
if you do sooooo great plain( of the four tops it may disappear or blink(in my project it shown at interior model(opengl)). Could this have something to do?

Offline

#6 24-Aug-2015 16:08:08

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

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

I think I found your issue
Generated shaders support multi lights badly.

Remove all your lights and use only a directonnal light in the scene.
Also change the ambien color to make it less dark.

I think your object should render correctly

Offline

#7 24-Aug-2015 17:08:39

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

Re: Not drawn 3D models. Only skys, sounds & collision works.(on android)

Many thanks! this method works!:D

Last edited by el_motoblock (24-Aug-2015 17:09:09)

Offline

Board footer

Powered by FluxBB