Git Product home page Git Product logo

Comments (3)

MasDennis avatar MasDennis commented on July 20, 2024

Hi,
How many objects are in your scene? Any cloning?

from rajawali.

 avatar commented on July 20, 2024

Yeah I cloning 25 objects from the root. So 25 objects (200 TRIS/object)

from rajawali.

 avatar commented on July 20, 2024

rotation probleme:

05-25 10:27:59.538: I/Rajawali(15588): MAX TEXTURES: 8
05-25 10:27:59.563: I/dalvikvm-heap(15588): Grow heap (frag case) to 110.577MB for 4194320-byte allocation
05-25 10:27:59.698: I/dalvikvm-heap(15588): Grow heap (frag case) to 114.576MB for 4194320-byte allocation
05-25 10:27:59.823: I/dalvikvm-heap(15588): Forcing collection of SoftReferences for 16777232-byte allocation
05-25 10:27:59.858: E/dalvikvm-heap(15588): Out of memory on a 16777232-byte allocation.

05-25 10:27:59.858: E/dalvikvm-heap(15588): Out of memory on a 16777232-byte allocation.
05-25 10:27:59.858: I/dalvikvm(15588): "GLThread 1122" prio=5 tid=23 RUNNABLE
05-25 10:27:59.858: I/dalvikvm(15588): | group="main" sCount=0 dsCount=0 obj=0x42f1c350 self=0x10c9f8
05-25 10:27:59.858: I/dalvikvm(15588): | sysTid=15710 nice=0 sched=0/0 cgrp=default handle=2068464
05-25 10:27:59.858: I/dalvikvm(15588): | schedstat=( 278497502 34585705 246 ) utm=25 stm=2 core=0
05-25 10:27:59.858: I/dalvikvm(15588): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
05-25 10:27:59.858: I/dalvikvm(15588): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:577)
05-25 10:27:59.858: I/dalvikvm(15588): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:445)
05-25 10:27:59.858: I/dalvikvm(15588): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:468)
05-25 10:27:59.858: I/dalvikvm(15588): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:498)
05-25 10:27:59.858: I/dalvikvm(15588): at lacroix3d.blood.mywallpaper.MyWallpaperRenderer.initScene(MyWallpaperRenderer.java:73)
05-25 10:27:59.858: I/dalvikvm(15588): at rajawali.renderer.RajawaliRenderer.onSurfaceCreated(RajawaliRenderer.java:228)
05-25 10:27:59.858: I/dalvikvm(15588): at lacroix3d.blood.mywallpaper.MyWallpaperRenderer.onSurfaceCreated(MyWallpaperRenderer.java:189)
05-25 10:27:59.858: I/dalvikvm(15588): at net.rbgrn.opengl.GLThread.guardedRun(GLThread.java:225)
05-25 10:27:59.858: I/dalvikvm(15588): at net.rbgrn.opengl.GLThread.run(GLThread.java:93)
05-25 10:27:59.868: W/dalvikvm(15588): threadid=23: thread exiting with uncaught exception (group=0x40c3d1f8)
05-25 10:27:59.868: E/AndroidRuntime(15588): FATAL EXCEPTION: GLThread 1122
05-25 10:27:59.868: E/AndroidRuntime(15588): java.lang.OutOfMemoryError
05-25 10:27:59.868: E/AndroidRuntime(15588): at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
05-25 10:27:59.868: E/AndroidRuntime(15588): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:577)
05-25 10:27:59.868: E/AndroidRuntime(15588): at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:445)
05-25 10:27:59.868: E/AndroidRuntime(15588): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:468)
05-25 10:27:59.868: E/AndroidRuntime(15588): at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:498)
05-25 10:27:59.868: E/AndroidRuntime(15588): at lacroix3d.blood.mywallpaper.MyWallpaperRenderer.initScene(MyWallpaperRenderer.java:73)
05-25 10:27:59.868: E/AndroidRuntime(15588): at rajawali.renderer.RajawaliRenderer.onSurfaceCreated(RajawaliRenderer.java:228)
05-25 10:27:59.868: E/AndroidRuntime(15588): at lacroix3d.blood.mywallpaper.MyWallpaperRenderer.onSurfaceCreated(MyWallpaperRenderer.java:189)
05-25 10:27:59.868: E/AndroidRuntime(15588): at net.rbgrn.opengl.GLThread.guardedRun(GLThread.java:225)
05-25 10:27:59.868: E/AndroidRuntime(15588): at net.rbgrn.opengl.GLThread.run(GLThread.java:93)

I am using three texture, a bump, a normal (1024), and a skybox (2048)

1, Maybe not releasing all objects after the rotation?

2, Back from settings: The textures lost (I cant see it on models, only black colored models)

from rajawali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.