Questions tagged [rajawali]

Rajawali is a 3D engine for Android based on OpenGL ES 2.0/3.0

Rajawali is a 3D framework for Android built on top of the OpenGL ES 2.0/3.0 API. Its main purpose is to make things easy and to take away the hard work that’s involved in OpenGL programming, allowing the user to focus on creativity instead of boiler plate GL code.

References: rozengain.com/blog

Reference and Tutorials

Rajawali Examples On The Market

133 questions
11
votes
1 answer

Android OpenGL texture from non-local source using Rajawali3D?

I am using the OpenGL library Rajawali3D to display my models. What I would like to know is how can I load a texture from my server based on the logged in user? I've searched all over the internet trying to figure this out for months with no…
Steve C.
  • 1,333
  • 3
  • 19
  • 50
10
votes
1 answer

Parsing .obj model from SD card Rajawali

I am Working with Rajawali 3D Framework and trying to Load .obj files from SDcard. I am able to upload and parse the obj file when I put these files (.obj, .mtl, texture.png (drawable folder)) on raw folder but when I try to parse it from sdcard it…
Sanjh
  • 103
  • 11
8
votes
2 answers

Android and Planet Rendering

I am learning how to do 3D development on android. I started with a simple rotating planet with some clouds. I have spent past 2 days trying to get atmospheric glow added to the planet. I looked online and tried working with shaders but was unable…
Leon
  • 135
  • 1
  • 8
7
votes
0 answers

How to set Camera's preview as background to surfaceview in rajawali & capture screen with 3D Obj & Camera preview

I am new to Opengl and i am trying to use rajawali for my android app. I am trying to render a 3D object and I want to show the 3D objects background as device's Camera's preview. I saw some result for achieving this but they suggested to use…
Kalyan
  • 612
  • 6
  • 20
5
votes
1 answer

How to make a simple VR video player by Google CardBoard Android SDK and Rajawali

I am a new man in these area. I am trying to change a program in github to play video for cardboard now. I modified the MyRenderer by using StreamingTexture. public class MyRenderer extends RajawaliCardboardRenderer { public MyRenderer(Context…
Dobbie
  • 133
  • 1
  • 10
5
votes
3 answers

How do you get rajawali to work (tutorial 1 on git)

I am quite new to android development, I know the basics activities, maps, sqlite, etc. I would like to be able to implement some 3D objects to be able to interact with within my apps. After a bit of searching I found that rajawali seems to be the…
Paul Ledger
  • 1,125
  • 4
  • 21
  • 46
4
votes
0 answers

GLSurfaceView disappear when Scroll up and scroll down again in RecyclerView

I attached my customize GLSurfaceView inside RecyclerView's Item layout. When I scroll up and scroll down again my GLSurfaceView is gone. I use Rajawali 3D engine for android OS. This is my ViewHolder in recyclerView Adapter class FieldViewHolder…
4
votes
0 answers

Rajawali transparent background

I am trying to overlay a RajawaliSurfaceView with the Earth Demo-Renderer over the Google Vision Face Tracker sample. I use this to make the background transparent: rajawaliSurfaceView.getHolder().setFormat(PixelFormat.TRANSPARENT); This is the…
000000000000000000000
  • 1,467
  • 1
  • 19
  • 38
4
votes
3 answers

How to use RajawaliVR or Rajawali to play a 360 Video

I am having a hard time to figure out how to use the Rajawali to play a 360 video. In order to achieve this, I tried every solution I could find in the Internet, but I failed. Firstly, I used the RajawaliCardboard, and let the MainActivity extend…
3
votes
1 answer

360 panorama viewer with rajawali + VR howto change FieldOfView

I am trying to create a 360 image viewer using rajawali + vr (Cardboard toolkit). When i disable the VR-Mode on the CardboardView the changes i made on Field of View property in the renderer has no effect. in the Google Cardboard docs i found the…
Keiner
  • 31
  • 3
3
votes
0 answers

CardBoard: In 360 video, how can I use both gesture and device movement together?

I have been stuck on this issue for a week. Currently, I'm able to control it with gesture using Matrix4.setLookAt() function. I'm able to control it by moving around the device. However, I tried to combined both gesture and device movement…
3
votes
1 answer

implement map globe Rajawali into fragment Android

I have problems with incorporating the world map on a fragment android Since an activity is performed in this way : @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
3
votes
1 answer

Rajawali rotating camera with Sensor.TYPE_ROTATION_VECTOR strange behavior

I'm creating a Panorama view which allows the user to look around in a spherical image by rotating his smartphone. I used Rajawali's Skybox for this together with the TYPE_ROTATION_VECTOR sensor. I got it working, but only when I look forward (it's…
Bart Burg
  • 4,786
  • 7
  • 52
  • 87
3
votes
2 answers

How to debug internal crash of GLSurfaceView?

I'm developing a VR video viewer using Android Cardboard SDK and RajawaliVR (https://github.com/Rajawali/RajawaliVR) On some devices I have this crash when returning from sleep (others just show black screen): java.lang.NullPointerException: Attempt…
RCB
  • 2,253
  • 2
  • 25
  • 49
3
votes
1 answer

createContext failed: EGL_SUCCESS

The log says java.lang.RuntimeException: createContext failed: EGL_SUCCESS at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1193) at…
Kantharis
  • 1,316
  • 1
  • 11
  • 21
1
2 3
8 9