jMonkeyEngine.org

  • Home
    • News
    • News Archives
    • Activity
    • Members
    • Links
  • Introduction
    • About
    • Website Manual
    • Core Team
    • Contributing
      • Anyone
      • Modeler
      • WebDev
      • Writer
      • Programmer
    • Product Showcase
  • Forums
    • Latest Topics
    • Forums Index
    • Troubleshooting >
      • General
      • Import Assets
      • Graphics
      • Effects
      • GUI
      • Physics
      • Sound
      • Networking
      • SpiderMonkey
      • TerraMonkey
      • jMonkeyPlatform
    • Project Relations >
      • Beta 1 Game Contest
      • Free Announcements
      • User Code & Projects
      • Site & Project Feedback
      • Feature Discussion
      • Small Talk
    • Development >
      • Developers
      • Contributions
      • Docs
      • jMonkeyPlatform
      • Android
      • MonkeyZone
    • Legacy jME2 >
      • Discussion
      • Contributions
      • Docs Discussion
  • Documentation
    • Installation & Setup
    • Tutorials & Docs
    • SDK Documentation
    • FAQ
    • JavaDoc
    • Docs Discussion
  • Projects
    • All Projects
    • Games
    • Tools
    • Open Source
  • Downloads
    • Download jME3 SDK
    • SVN Checkout
    • GoogleCode
    • Nightly Builds

Group Admins

  • Profile picture of admin
Group logo of Troubleshooting – Graphics

Troubleshooting – Graphics

Public Group active 9 minutes ago

Graphical related problems

  • Home
  • Forum
  • Members 6,150
  • RSS
  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 16 minutes ago

    @pspeed I meant storage qualifiers… or course.

    Storage Qualifiers
    Variable declarations may have at most one storage qualifier specified in front of the type. These are
    summarized as
    Storage Qualifier […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 36 minutes ago

    @pspeed Oh… sorry.

    I am updating the shader I am using to move clouds. At the moment, I determine the offset from the original clamp in the update loop and pass it in to move the texture. However, it seems […]

  • Profile picture of pspeed

    pspeed replied to the forum topic text background in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 47 minutes ago

    Which search box did you use? The one at the very top is nearly useless. The one that says ”Custom Google Search” is the best one… that’s the one I used.

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 3 hours, 57 minutes ago

    You can’t, really. Not without knowing the previous time and direction.

    What I meant by “what are you trying to do?” is what overall effect are you trying to achieve… not the shader specific stuff. What […]

  • Profile picture of phantomliger11

    phantomliger11 replied to the forum topic text background in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 4 hours ago

    i did the same and it didnt give me anything…o well

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 3 minutes ago

    @pspeed I am starting to think this headache I have is making me temporarily retarded.

    Basically what I would like to do is either:

    1. get texCoord1 from the previous rendered frame.
    OR
    2. get texCoord1 […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 8 minutes ago

    @pspeed well… bad choice of words on reseting it to 0… cycle it I mean.

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 11 minutes ago

    Just switch direction from the current point.

    And… very funny, I was just about to post that g_Time was the whole reason it was working in the first place… but you beat me to it.

    Soo… how do I use in / […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 37 minutes ago

    g_Time ever increases. It is time. g_tpf (I think is what it is called) will be the time of the last frame but is useless in a shader because there is not accumulation.

    Imaginge if you were running at 60 FPS […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 42 minutes ago

    @pspeed I was under the assumption the g_Time was the time the shader took to render a frame (pass, whatever). Either way, I can fix that… but will it effect the issue I am seeing? I would think it would […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 48 minutes ago

    @pspeed said:
    And by the way… if you have wrap mode on for your texture then you shouldn’t need to clamp/mod at all.

    And actually, that’s the only way that you’ll get right answers anyway. Otherwise, […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 51 minutes ago

    And by the way… if you have wrap mode on for your texture then you shouldn’t need to clamp/mod at all.

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 52 minutes ago

    @t0neg0d said:
    the checks right below the first two lines cycle the xInc/yInc to stay between 0 and 1. Since the texture is tiled, it is a very smooth transition as it moves.

    No, they don’t. You think […]

  • Profile picture of t0neg0d

    t0neg0d replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 5 hours, 56 minutes ago

    @pspeed Hmmm… it doesn’t jump ever, unless I change the direction or speed. It runs nice & smooth. (constant speed)

    m_Speed is a float set between .025 and .05 for my purposes (basically anything between 0 […]

  • Profile picture of pspeed

    pspeed replied to the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 6 hours, 3 minutes ago

    This is an odd little bit of code. g_Time will keep increasing so you will go way way way above 1 pretty fast depending on m_Speed… so I suspect simply subtracting 1.0 at some point in is probably not what […]

  • Profile picture of t0neg0d

    t0neg0d started the forum topic Help with shader… in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 6 hours, 9 minutes ago

    I’m working on a shader for rendering moving textures. The original one I set up where you simply pass in the offset, works just fine, however… when I updated it to pass in a the speed and direct… it still […]

  • Profile picture of pspeed

    pspeed replied to the forum topic sky looks distorted when using SkyFactory.createSky with spheremap in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 8 hours, 20 minutes ago

    Because from one vertex to another, the normals are interpolated linearly. They have to be renormalized to bring the curve back.

    I hope that makes sense. That is my understanding anyway.

  • Profile picture of sbook

    sbook replied to the forum topic GPU acceleration using GLSL in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 8 hours, 44 minutes ago

    I started with this little example a while back.. works perfectly and should get you on your way http://lwjgl.org/wiki/index.php?title=Sum_Example

  • Profile picture of nihal

    nihal replied to the forum topic GPU acceleration using GLSL in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 9 hours, 1 minute ago

    Thank you guys. I will have a look at the OpenCL functionality in LWJGL next time I have some spare time.

    Cheers!

  • Profile picture of normen

    normen replied to the forum topic GPU acceleration using GLSL in the group Group logo of Troubleshooting – GraphicsTroubleshooting – Graphics 9 hours, 5 minutes ago

    Well, if its really like “I do all this stuff for the visuals in my shader anyway and so I also compute this other thing that depends on a lot of the made computations” then simply using some shader variable […]

  • Load More
Click below to login with..

Please create an account to get started.

Loading

Latest News

  • Google Summer of Code 2012
  • Interview with Jeremy “phr00t” – Developer of 3079

Recently Active Members

Profile picture of Setekh
Profile picture of sandrob
Profile picture of t0neg0d
Profile picture of nehon
Profile picture of ceiphren
Profile picture of phantomliger11
Profile picture of atomix
Profile picture of toolforger
Profile picture of ironeye42
Profile picture of KuroSei
Profile picture of jonmonkey
Profile picture of jmaasing

Drag&Drop Help

  • 3D Scene Graph for Dummies
  • jME3 Math for Dummies
  • Hello Assets
  • Export from Blender
  • Animations from Blender
  • Custom Meshes
  • Physics
  • FAQ
  • Nifty’s bible

Group Tags

game jme3 online jme2 jme1 tool rpg mmo boxes fps android networking gui action physics editor crafting encryption serialization gis betaville geomipmapping synchronization lod api tower-defense chat space platform phone turn-based terrain streaming library racing side-scroller

Proudly powered by WordPress and BuddyPress.

jMonkeyEngine.org
  • Log In
  • Sign Up
  • Visit
    • Random Member
    • Random Group
close