Giter Site home page Giter Site logo

carykh / yoylecitywords Goto Github PK

View Code? Open in Web Editor NEW
81.0 11.0 22.0 2.13 MB

This is a city renderer I created in 2013. It's all hacked together and very slow, so watch out. Explanation video here: https://www.youtube.com/watch?v=y0nsXiI_I9c

License: MIT License

Processing 100.00%

yoylecitywords's Introduction

yoylecitywords's People

Contributors

carykh avatar hanss314 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yoylecitywords's Issues

Not working if camera = 0

When int camera is set to 1, the city loads, although pressing r or t does nothing. If it is set to 0, it doesn't even work at all. What's wrong?

error on startup

i know this project is like 9 years old but here is the error it gives me
java.lang.NoSuchMethodError: 'void processing.core.PVector.add(processing.core.PVector)'
full error:
RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PVector.add(processing.core.PVector)' java.lang.RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PVector.add(processing.core.PVector)' at processing.opengl.PSurfaceJOGL.lambda$initAnimator$2(PSurfaceJOGL.java:413) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.NoSuchMethodError: 'void processing.core.PVector.add(processing.core.PVector)' at saito.objloader.BoundingBox.<init>(BoundingBox.java:46) at saito.objloader.OBJModel.translateToCenter(OBJModel.java:659) at yoyleCityWords.setup(yoyleCityWords.java:198) at processing.core.PApplet.handleDraw(PApplet.java:2142) at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:822) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674) at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147) at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:782) at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81) at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:453) at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178) at java.base/java.util.TimerThread.mainLoop(Timer.java:566) at java.base/java.util.TimerThread.run(Timer.java:516) RuntimeException: java.lang.NoSuchMethodError: 'void processing.core.PVector.add(processing.core.PVector)'

Have you thought about abandoning processing?

Just sayin… It enforces a lot of really bad, bad, bad, bad, bad programming practices (e.g. forcing all the code to be in one file) and practically prevents you from using object oriented programming to its full extent (which you'll probably need for projects this size to be maintainable [i.e. readable {for others}]).

And most terribly, it curtails your fantasy… A guy with your skill level could probably use OpenGL with a run-off-the-mill Java application; this would certainly speed up full quality rendering to 60fps… and it would be easier to use more advanced rendering techniques, like shaders, etc.

Frames aren't rendering correctly.

0040

Look at all the lines outside of the city. I don't think they're supposed to be there. This is probably a bug. It only appears when rendering in full mode, ie, variable full is set to 2.

I'm not much knowledgeable in processing, so I don't really know how to fix it, So, I'm posting it here hoping someone could help me.

Im trying to load (The) yoyle city.

I put on the correct seed however its just copying bb.png. Is yoyle city part of the seed? Or does it have its own bb.png. If so, could you send it? If its apart of the seed, how do I stop the program from using bb.png, and use the seed instead?

OutOfMemoryError

An OutOfMemoryError means that your code is either using up too much memory
because of a bug (e.g. creating an array that's too large, or unintentionally
loading thousands of images), or that your sketch may need more memory to run.
If your sketch uses a lot of memory (for instance if it loads a lot of data files)
you can increase the memory available to your sketch using the Preferences window.

This happened

com.sun.opengl

When I hit the play button this pops up

"The package "com.sun.opengl" does not exist. You might be missing a library."

and

"No library found for com.sun.opengl.util.texture
Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder."

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.