Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: type error and access violation error pyopengl
Post: type error and access violation error pyopengl

GL.glDrawArrays(GL.GL_TRIANGLES,0,model1.vertexcou nt) gives me an error saying: ctypes.ArgumentError:argument 3:<class 'TypeError'>: wrong type which i interpret as: the 3rd argument given to ...
hsunteik Data Science 0 3,324 Nov-04-2017, 04:51 AM
    Thread: Why glGenVertexArray()gives access violation error?
Post: RE: Why glGenVertexArray()gives access violation e...

(May-02-2017, 09:14 AM)Mekire Wrote: Quote:are there difference between 'vao=glGenVertexArray(1)' and glGenVertexArray(1,vao) The second one looks like it is from the C version as you presumably pas...
hsunteik General Coding Help 4 4,645 May-02-2017, 09:50 AM
    Thread: Why glGenVertexArray()gives access violation error?
Post: RE: Why glGenVertexArray()gives access violation e...

The whole program is quite long,and i dont know which part causes the problem. The only thing i know is the main cause of this error is using GL.glGenVertexArrays. i will try my best to extract the er...
hsunteik General Coding Help 4 4,645 May-02-2017, 09:09 AM
    Thread: Why glGenVertexArray()gives access violation error?
Post: Why glGenVertexArray()gives access violation error...

My old error,the NullFunctionError is solved by creating a opengl context before calling the opengl function,but now I get a new error,that is the access violation writing to location error and is cau...
hsunteik General Coding Help 4 4,645 May-01-2017, 12:40 PM
    Thread: Creating shadow in OpenGL with normal?
Post: Creating shadow in OpenGL with normal?

The basic shadowmap algorithm consists in two passes. First, the scene is rendered from the point of view of the light. Only the depth of each fragment is computed. Next, the scene is rendered as usua...
hsunteik General Coding Help 0 3,366 Apr-27-2017, 08:23 AM
    Thread: how does cartoon camera work?how do i build one?
Post: RE: how does cartoon camera work?how do i build on...

What I thought of is using cel shading ,but first I need to do is finding all the object in the scene by using Edge detection or transferring the scene to 3d(not sure weather is possible) ,then only ...
hsunteik General Coding Help 3 3,806 Apr-23-2017, 10:40 AM
    Thread: how does cartoon camera work?how do i build one?
Post: how does cartoon camera work?how do i build one?

How to create a cartoon camera that allow me to change my surrounding into cartoon like world? For an example, 1)search play store for cartoon camera 2)some samsung device have it (this feature) prein...
hsunteik General Coding Help 3 3,806 Apr-23-2017, 09:10 AM
    Thread: Should i abuse the RAM or hard disc while creating big games?
Post: RE: Should i abuse the RAM or hard disc while crea...

Thanks,I got the basic idea,let me try it out first.
hsunteik General Coding Help 12 7,277 Apr-15-2017, 11:42 AM
    Thread: Should i abuse the RAM or hard disc while creating big games?
Post: RE: Should i abuse the RAM or hard disc while crea...

Yes,I am using pygame and pyopengl. I am making game like minecraft.
hsunteik General Coding Help 12 7,277 Apr-15-2017, 10:47 AM
    Thread: Should i abuse the RAM or hard disc while creating big games?
Post: RE: Should i abuse the RAM or hard disc while crea...

(Apr-15-2017, 10:35 AM)SpeedyZapGaming Wrote: I dont have Unity but I think they have a limit on how many gameobjects you are allowed to have until its full. I have experiences in Blender and it sai...
hsunteik General Coding Help 12 7,277 Apr-15-2017, 10:43 AM
    Thread: Should i abuse the RAM or hard disc while creating big games?
Post: RE: Should i abuse the RAM or hard disc while crea...

http://answers.unity3d.com/questions/408...000-1.html https://0fps.net/2012/06/30/meshing-in-a...raft-game/ I'm sorry if my explanation is not good enough,the above website is exactly the same as my e...
hsunteik General Coding Help 12 7,277 Apr-15-2017, 10:15 AM
    Thread: Should i abuse the RAM or hard disc while creating big games?
Post: Should i abuse the RAM or hard disc while creating...

My game will be very big,so should i use(abuse) the RAM or hard disc to store data? If i use RAM,there is a limit that i can store.For a 32 bit computer,i think is 2^32 data.If it reached that number,...
hsunteik General Coding Help 12 7,277 Apr-15-2017, 07:04 AM
    Thread: Why is voxel generated terrain looks better?
Post: Why is voxel generated terrain looks better?

why does voxel generated terrain looks better especially the graphics and the colours? Is it because is most voxel game uses cel shading or is it the voxel generation technique itself? my code here
hsunteik General Coding Help 1 3,211 Apr-13-2017, 11:23 AM
    Thread: Difference between Minecraft and Stellar overload?
Post: Difference between Minecraft and Stellar overload?

what is the difference between minecraft and Stella overload in every aspect ,such mechanics ,graphic ,gameplay,etc? Which is the better game for you?
hsunteik Bar 3 3,960 Apr-13-2017, 10:14 AM
    Thread: how to destroy or remove object rendered with opengl from the screen?
Post: RE: how to destroy or remove object rendered with ...

Nevermind,already found a way. My idea is giving it a if statement before rendering the object and continue to render the object only if the boolean variable is true. If not,don't render,which means d...
hsunteik General Coding Help 1 7,052 Apr-09-2017, 01:30 PM
    Thread: how to destroy or remove object rendered with opengl from the screen?
Post: how to destroy or remove object rendered with open...

There are many ways to render object on the screen,such as using  VAO/VBO and glbegin/glend,but how do I destroy them or remove them from the scene? One way I can think of is by making the object tran...
hsunteik General Coding Help 1 7,052 Apr-09-2017, 11:51 AM
    Thread: Do all class need constructors?(__init__)
Post: RE: Do all class need constructors?(__init__)

Thanks everyone.
hsunteik General Coding Help 13 9,322 Apr-05-2017, 11:37 AM
    Thread: Do all class need constructors?(__init__)
Post: RE: Do all class need constructors?(__init__)

when we use constructor,it will greatly increase the line of code that we need to write,so when a copy is not needed,shouldnt it be better to not use constructor?
hsunteik General Coding Help 13 9,322 Apr-05-2017, 10:10 AM
    Thread: How to get pyhton to identify symbols in a string
Post: RE: How to get pyhton to identify symbols in a str...

learn about parser and file types.
hsunteik General Coding Help 4 4,320 Apr-05-2017, 10:02 AM
    Thread: Do all class need constructors?(__init__)
Post: Do all class need constructors?(__init__)

I know it is all up to the programmer,but do most programmer do  like this: class test():     def say(message):         print (message) test.say('hello')or,like this: class test():     def __init__(s...
hsunteik General Coding Help 13 9,322 Apr-05-2017, 09:57 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020